|
@@ -279,6 +279,18 @@ class WorkOrder extends Api
|
|
|
->whereIn('订单编号', $orderNos)
|
|
->whereIn('订单编号', $orderNos)
|
|
|
->whereNull('Mod_rq')
|
|
->whereNull('Mod_rq')
|
|
|
->update($softDelete);
|
|
->update($softDelete);
|
|
|
|
|
+ Db::table('工单_bom资料')
|
|
|
|
|
+ ->whereIn('BOM_工单编号', $orderNos)
|
|
|
|
|
+ ->whereNull('Mod_rq')
|
|
|
|
|
+ ->update($softDelete);
|
|
|
|
|
+ Db::table('工单关联表')
|
|
|
|
|
+ ->whereIn('订单编号', $orderNos)
|
|
|
|
|
+ ->whereNull('Mod_rq')
|
|
|
|
|
+ ->update($softDelete);
|
|
|
|
|
+ Db::table('工单_面料资料')
|
|
|
|
|
+ ->whereIn('BOM_工单编号', $orderNos)
|
|
|
|
|
+ ->whereNull('Mod_rq')
|
|
|
|
|
+ ->update($softDelete);
|
|
|
Db::table('工单_工艺资料')
|
|
Db::table('工单_工艺资料')
|
|
|
->whereIn('订单编号', $orderNos)
|
|
->whereIn('订单编号', $orderNos)
|
|
|
->whereNull('Mod_rq')
|
|
->whereNull('Mod_rq')
|