north 7 年之前
父节点
当前提交
6aba48e34e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      www/protected/modules/j/controllers/HouseKeepingController.php

+ 1 - 1
www/protected/modules/j/controllers/HouseKeepingController.php

@@ -25,7 +25,7 @@ class HouseKeepingController extends JBaseController
             $criteria->store_id('==', $je->owned_stores);
         }
 
-        $criteria->store_id('==', $store_id);
+        $criteria->store_id('==', intval($store_id));
 
         $cursor = HouseKeeping::model()->findAll($criteria);
         $rows = CommonFn::getRowsFromCursor($cursor);