cqpCow há 2 anos atrás
pai
commit
fdc89ad698
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      app/Service/FyySqlServerService.php

+ 1 - 0
app/Service/FyySqlServerService.php

@@ -114,6 +114,7 @@ class FyySqlServerService extends Service
         $model = $this->db->table('SO_SOMain as a')
             ->leftJoin('SO_SODetails as b','b.cSOCode','a.cSOCode')
             ->whereBetween('a.dDate',[$start, $end])
+            ->whereNotNull('a.cVerifier')
             ->select('a.cSOCode as out_order_no','a.dDate as out_order_no_time','a.cCusCode as customer_no','a.cCusName as customer_name','a.cMemo as table_header_mark','a.cMaker as out_crt_man','a.cVerifier as out_checker_man','a.dverifydate as out_checker_time','b.cInvCode as product_no','b.iQuantity as order_quantity','b.cDefine28 as technology_material','b.cFree1 as technology_name','b.cFree2 as wood_name','b.cDefine30 as process_mark','b.cMemo as table_body_mark');
 
         if(! empty($data['out_order_no'])) $model->where('a.cSOCode', 'LIKE', '%'.$data['out_order_no'].'%');