|
|
|
@ -116,7 +116,7 @@ public class InspectionTaskManageServiceImpl implements InspectionTaskManageServ
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
List<InspectionTaskManageDetail> inspectionItemDetailList = this.getInspectionTaskDetail(HandleEnum.INSPECTION_TASK.getHandle(taskNo));
|
|
|
|
|
if (inspectionItemDetailList != null || inspectionItemDetailList.size() > 0) {
|
|
|
|
|
if (inspectionItemDetailList != null && inspectionItemDetailList.size() > 0) {
|
|
|
|
|
throw BusinessException.build("检验任务:"+taskNo+"有检验项目,不允许执行合格操作");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|