|
|
@@ -53,10 +53,11 @@ class U8ServerService extends Service
|
|
|
$end = date('Y-m-d H:i:s.000', $order_date[1]);
|
|
|
return $query->whereBetween('a.dDate', [$start, $end]);
|
|
|
})
|
|
|
- ->where(function ($query) {
|
|
|
- $query->where('a.iverifystateex', 0)
|
|
|
- ->OrwhereNull('a.iverifystateex');
|
|
|
- })
|
|
|
+// ->where(function ($query) {
|
|
|
+// $query->where('a.iverifystateex', 0)
|
|
|
+// ->OrwhereNull('a.iverifystateex');
|
|
|
+// })
|
|
|
+ ->whereNull('a.cVerifier')
|
|
|
->select('a.cMaker as crt_name', DB::raw("COALESCE(c.cPersonName, '') as purchase_name"),'a.cBusType as business_type','a.cCode as order_number',DB::raw("CONVERT(varchar(10), a.dDate, 120) as order_date"))
|
|
|
->orderBy('a.ID','desc');
|
|
|
|