diff --git a/src/main/java/com/sztzjy/money_management/service/impl/CaseServiceImpl.java b/src/main/java/com/sztzjy/money_management/service/impl/CaseServiceImpl.java index 97686b4..709812a 100644 --- a/src/main/java/com/sztzjy/money_management/service/impl/CaseServiceImpl.java +++ b/src/main/java/com/sztzjy/money_management/service/impl/CaseServiceImpl.java @@ -2429,6 +2429,17 @@ public class CaseServiceImpl implements CaseService { if (type.equals("报告")) { HashMap map = new HashMap<>(); + SynthesisPlanClientExample synthesisPlanClientExample = new SynthesisPlanClientExample(); + synthesisPlanClientExample.createCriteria().andUseridEqualTo(userId).andCaseidEqualTo(caseID); + List synthesisPlanClientList = synthesisPlanClientMapper.selectByExample(synthesisPlanClientExample); + if (!synthesisPlanClientList.isEmpty()) { + SynthesisPlanClient synthesisPlanClient = synthesisPlanClientList.get(0); + if (StringUtils.isBlank(synthesisPlanClient.getSubmitStatus())) { + synthesisPlanClient.setSubmitStatus("未提交"); + synthesisPlanClientMapper.updateByPrimaryKey(synthesisPlanClient); + } + } + ComCaseExample example = new ComCaseExample(); example.createCriteria().andCaseidEqualTo(caseID); List comCases = comCaseMapper.selectByExample(example);