ERP字段
This commit is contained in:
@@ -47,7 +47,9 @@ class ErpController extends Controller
|
||||
'po.is_sync_erp' => 0,
|
||||
])->andWhere([
|
||||
'in','po.status',[1,2,3,6,7]
|
||||
])->andWhere(['BETWEEN', 'po.created_at', $startDate, $endDate])->joinWith('approvedPrescription')->with(['orderItems','store'])->asArray()->all();
|
||||
])->andWhere(['BETWEEN', 'po.created_at', $startDate, $endDate])
|
||||
->joinWith('approvedPrescription')
|
||||
->with(['orderItems','store', 'prescription'])->asArray()->all();
|
||||
//解析成erp所需参数(订单详情是否需要改动 - 线上订单的展示)
|
||||
$erpData = [];
|
||||
$ids = [];
|
||||
|
||||
Reference in New Issue
Block a user