|
@@ -409,8 +409,11 @@ public class WorkOrderServiceImpl extends ServiceImpl<WorkOrderMapper, WorkOrder
|
|
|
WorkOrder workOrder = this.getById(workOrderDto.getId());
|
|
|
|
|
|
|
|
|
- if ("1".equals(workOrder.getIsCustomized())&&workOrderDto.getBomStatus()!=1){
|
|
|
- return;
|
|
|
+ if ("1".equals(workOrder.getIsCustomized())){
|
|
|
+
|
|
|
+ if (ObjectUtil.isEmpty(workOrder.getBomStatus())||workOrder.getBomStatus()!=1) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (ObjectUtil.isEmpty(workOrder.getProductionQuantity())){
|