dever 2 년 전
부모
커밋
335e6fc4ba
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      service/bill/lib/Manage.php

+ 3 - 0
service/bill/lib/Manage.php

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