From f9291c47521a15e8e49e0a25f6a031afcc30564f Mon Sep 17 00:00:00 2001 From: xiaoCJ <406612557@qq.com> Date: Wed, 13 Nov 2024 15:34:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=84=E5=88=92=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E6=8F=90=E4=BA=A4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/CaseServiceImpl.java | 11 +++++++++++ 1 file changed, 11 insertions(+) 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);