fix(87424): 标准解读流程(标准主解读人分发) --驳回后更换标准,流程名称与标准不一致了

This commit is contained in:
yjz
2024-07-31 18:27:08 +08:00
parent 818ef541fa
commit 4e8aa2d54a
@@ -1406,6 +1406,15 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
switch (node){
// 法规工程师发起
case StandardInterpretCommon.REGULATORY_ENGINEER_START:
// 生成流程名称
String standardId = data.getProcessStandardInterpret().getStandardId();
LawsDomesticStandard lawsDomesticStandard = lawsDomesticStandardService.getById(standardId);
String prcName = lawsDomesticStandard.getStandardNumber() + "-"
+ lawsDomesticStandard.getStandardName() + "-解读";
processAllService.update(new LambdaUpdateWrapper<ProcessAll>()
.eq(ProcessAll::getId, standardInterpretFlowDTO.getProcessAll().getId())
.set(ProcessAll::getPrcName, prcName));
SarFileSplitInfoEO sarFileSplitInfoEO =
sarFileSplitInfoService.getOne(new LambdaQueryWrapper<SarFileSplitInfoEO>()
.eq(SarFileSplitInfoEO::getStandardId, processStandardInterpret.getStandardId())