|
|
@@ -113,7 +113,10 @@ class U8ServerService extends Service
|
|
|
$end = date('Y-m-d H:i:s.000', $order_date[1]);
|
|
|
return $query->whereBetween('a.dPODate', [$start, $end]);
|
|
|
})
|
|
|
- ->where('a.iverifystateex',0)
|
|
|
+ ->where(function ($query) {
|
|
|
+ $query->where('a.iverifystateex', 0)
|
|
|
+ ->OrwhereNull('a.iverifystateex');
|
|
|
+ })
|
|
|
->select('a.cMaker as crt_name', 'a.cBusType as business_type','a.cPOID as order_number',DB::raw("CONVERT(varchar(10), a.dPODate, 120) as order_date"),'c.cVenName as supplier_title')
|
|
|
->orderBy('a.POID','desc');
|
|
|
|