Commit 4109360f authored by liuyuzhen's avatar liuyuzhen

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into lyz

parents 155e52fd c7ad2a3c
...@@ -65,7 +65,7 @@ class MemberFavoritesStoreStoreMemberStatisticsModel extends \DAO\AbstractModel ...@@ -65,7 +65,7 @@ class MemberFavoritesStoreStoreMemberStatisticsModel extends \DAO\AbstractModel
$this->setDb($this->dbName); $this->setDb($this->dbName);
$whereStr=" store_id=".$storeId; $whereStr=" store_id=".$storeId;
if(!empty($keyword)){ if(!empty($keyword)){
$whereStr.=Common::format(" and(member_name='{0}' or member_mobile='{1}') ",$keyword); $whereStr.=Common::format(" and(member_name like '%{0}%' or member_mobile like '%{0}%') ",$keyword);
} }
$result=$this->lists($whereStr, $sort, $this->field, $pageIndex, $pageSize); $result=$this->lists($whereStr, $sort, $this->field, $pageIndex, $pageSize);
if(!empty($result['list'])){ if(!empty($result['list'])){
......
...@@ -71,7 +71,7 @@ class cliShopkeeperIndex extends basecli ...@@ -71,7 +71,7 @@ class cliShopkeeperIndex extends basecli
$shopkeeperService->baseDir= \Our\Common::getConfig('out.config'); $shopkeeperService->baseDir= \Our\Common::getConfig('out.config');
try { try {
$shopkeeperService->insertStoreMemberStatics(); $shopkeeperService->insertStoreMemberStatics();
$shopkeeperService->reduceStoreMemberStatics(); // $shopkeeperService->reduceStoreMemberStatics();
$shopkeeperService->storeStatictisTask(); $shopkeeperService->storeStatictisTask();
$shopkeeperService->updateLastId(); $shopkeeperService->updateLastId();
} catch (Exception $ex) { } catch (Exception $ex) {
......
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