dever 3 năm trước cách đây
mục cha
commit
3bdeb1dc50
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      service/bill/lib/Manage.php

+ 1 - 1
service/bill/lib/Manage.php

@@ -330,7 +330,7 @@ class Manage
         foreach($data as $k => $v){
         foreach($data as $k => $v){
             $month = date('Y-m',$v['month'])."\t";
             $month = date('Y-m',$v['month'])."\t";
             $shop = Dever::db('shop/info')->find(array('id'=>$v['shop_id']));
             $shop = Dever::db('shop/info')->find(array('id'=>$v['shop_id']));
-            if ($shop['type'] != 2) {
+            if ($shop['type'] != 1) {
                 continue;
                 continue;
             }
             }
             if($shop['mid'] && $shop['mid'] >0){
             if($shop['mid'] && $shop['mid'] >0){