|
|
|
|
@ -2063,6 +2063,9 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO |
|
|
|
|
if (!WorkPlan.STATUS_START.equals(wp.getStatus())) { |
|
|
|
|
throw new ServiceException("当前工序已报工完成!"); |
|
|
|
|
} |
|
|
|
|
if (StringUtils.isNotBlank(wp.getTeamMembers()) && !AuthUtil.getUserName().contains(wp.getTeamMembers())) { |
|
|
|
|
throw new ServiceException("当前报工人与工序计划人不符,不可提交!"); |
|
|
|
|
} |
|
|
|
|
MacToolUse mtu; |
|
|
|
|
BsProcessSetEntity dsProcess = bsProcessSetService.getById(wp.getPpsId()); |
|
|
|
|
WorkPlan frontWp = workPlanService.getById(wp.getFrontWpId()); |
|
|
|
|
|