|
|
|
@ -2429,14 +2429,16 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
if (type.equals("报告")) {
|
|
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
|
|
|
|
|
|
|
SynthesisPlanClientExample synthesisPlanClientExample = new SynthesisPlanClientExample();
|
|
|
|
|
synthesisPlanClientExample.createCriteria().andUseridEqualTo(userId).andCaseidEqualTo(caseID);
|
|
|
|
|
List<SynthesisPlanClient> synthesisPlanClientList = synthesisPlanClientMapper.selectByExample(synthesisPlanClientExample);
|
|
|
|
|
if (!synthesisPlanClientList.isEmpty()) {
|
|
|
|
|
SynthesisPlanClient synthesisPlanClient = synthesisPlanClientList.get(0);
|
|
|
|
|
if (StringUtils.isBlank(synthesisPlanClient.getSubmitStatus())) {
|
|
|
|
|
synthesisPlanClient.setSubmitStatus("未提交");
|
|
|
|
|
synthesisPlanClientMapper.updateByPrimaryKey(synthesisPlanClient);
|
|
|
|
|
if (StringUtils.isNotBlank(userId)) {
|
|
|
|
|
SynthesisPlanClientExample synthesisPlanClientExample = new SynthesisPlanClientExample();
|
|
|
|
|
synthesisPlanClientExample.createCriteria().andUseridEqualTo(userId).andCaseidEqualTo(caseID);
|
|
|
|
|
List<SynthesisPlanClient> synthesisPlanClientList = synthesisPlanClientMapper.selectByExample(synthesisPlanClientExample);
|
|
|
|
|
if (!synthesisPlanClientList.isEmpty()) {
|
|
|
|
|
SynthesisPlanClient synthesisPlanClient = synthesisPlanClientList.get(0);
|
|
|
|
|
if (StringUtils.isBlank(synthesisPlanClient.getSubmitStatus())) {
|
|
|
|
|
synthesisPlanClient.setSubmitStatus("未提交");
|
|
|
|
|
synthesisPlanClientMapper.updateByPrimaryKey(synthesisPlanClient);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|