Browse Source

2025-10-13

BM Dead功能修改
master
fengyuan_yang 3 months ago
parent
commit
6c59696d55
  1. 7
      src/main/java/com/spring/modules/sampleManagement/service/Impl/TechnicalSpecificationServiceImpl.java

7
src/main/java/com/spring/modules/sampleManagement/service/Impl/TechnicalSpecificationServiceImpl.java

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

Loading…
Cancel
Save