Commit 465dbd4e authored by chenchuanwen's avatar chenchuanwen

hahha

parent 608b6627
...@@ -285,10 +285,11 @@ class StoreModel extends \DAO\AbstractModel ...@@ -285,10 +285,11 @@ class StoreModel extends \DAO\AbstractModel
} }
public function deleteStoreCache($storeId,$orderId){ public function deleteStoreCache($storeId,$orderId){
$qmDeliveryManLogDao =\DAO\Order\QmDeliverymanLogModel::getInstance(); $qmDeliveryManLogDao =\DAO\Order\QmDeliverymanLogModel::getInstance();
$diliveryMan = \DAO\Order\DiliverymanModel::getInstance();
if(!empty($storeId)){ if(!empty($storeId)){
\Our\RedisHelper::delCachedFunction(\Redis\Db6\StoreRedisModel::getInstance(), array(&$this, 'getList'), array(), array($storeId)); \Our\RedisHelper::delCachedFunction(\Redis\Db6\StoreRedisModel::getInstance(), array(&$this, 'getList'), array(), array($storeId));
\Our\RedisHelper::delCachedFunction(\Redis\Db6\StoreRedisModel::getInstance(), array(&$qmDeliveryManLogDao, 'getList'), array(), array($storeId)); \Our\RedisHelper::delCachedFunction(\Redis\Db6\StoreRedisModel::getInstance(), array(&$qmDeliveryManLogDao, 'getList'), array(), array($storeId));
\Our\RedisHelper::delCachedFunction(\Redis\Db6\StoreRedisModel::getInstance(), array(&$diliveryMan, 'getDeliveryManByStoreId'), array(), array($storeId));
} }
if(!empty($orderId)){ if(!empty($orderId)){
$orderDao=\DAO\Order\OrderModel::getInstance(DbNameConst::salveDBConnectName); $orderDao=\DAO\Order\OrderModel::getInstance(DbNameConst::salveDBConnectName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment