|
|
|
@ -2066,9 +2066,9 @@ public class TechnicalSpecificationServiceImpl implements TechnicalSpecification |
|
|
|
public void bmStatusToDead(PlmTechnicalSpecificationSheetData data) { |
|
|
|
// 查询特殊权限 校验是否可以执行操作 |
|
|
|
List<ProcessFormEntity> processFormList = changeManagementMapper.queryRequestId(data.getSite(), "", data.getCodeNo()); |
|
|
|
if (processFormList.isEmpty()) { |
|
|
|
throw new RuntimeException("未发起流程审批,不允许Dead!"); |
|
|
|
} |
|
|
|
if (!processFormList.isEmpty()) { |
|
|
|
// throw new RuntimeException("未发起流程审批,不允许Dead!"); |
|
|
|
|
|
|
|
ProcessFormEntity processForm = processFormList.get(0); |
|
|
|
PlmProcessControllBaseData cData = new PlmProcessControllBaseData(); |
|
|
|
cData.setSite(data.getSite()); |
|
|
|
@ -2093,6 +2093,7 @@ public class TechnicalSpecificationServiceImpl implements TechnicalSpecification |
|
|
|
// throw new RuntimeException("删除异构系统指定人员待办流程异常信息:" + deleteUserRequestInfoResponses.getMsg()); |
|
|
|
// } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 将技术参数卡的状态改为"Dead" |
|
|
|
data.setStatus("dead"); |
|
|
|
|