新增userId判断

master
xiaoCJ 4 months ago
parent 52d0d0f2a4
commit 6c07e82d1e

@ -2429,6 +2429,7 @@ public class CaseServiceImpl implements CaseService {
if (type.equals("报告")) { if (type.equals("报告")) {
HashMap<String, Object> map = new HashMap<>(); HashMap<String, Object> map = new HashMap<>();
if (StringUtils.isNotBlank(userId)) {
SynthesisPlanClientExample synthesisPlanClientExample = new SynthesisPlanClientExample(); SynthesisPlanClientExample synthesisPlanClientExample = new SynthesisPlanClientExample();
synthesisPlanClientExample.createCriteria().andUseridEqualTo(userId).andCaseidEqualTo(caseID); synthesisPlanClientExample.createCriteria().andUseridEqualTo(userId).andCaseidEqualTo(caseID);
List<SynthesisPlanClient> synthesisPlanClientList = synthesisPlanClientMapper.selectByExample(synthesisPlanClientExample); List<SynthesisPlanClient> synthesisPlanClientList = synthesisPlanClientMapper.selectByExample(synthesisPlanClientExample);
@ -2439,6 +2440,7 @@ public class CaseServiceImpl implements CaseService {
synthesisPlanClientMapper.updateByPrimaryKey(synthesisPlanClient); synthesisPlanClientMapper.updateByPrimaryKey(synthesisPlanClient);
} }
} }
}
ComCaseExample example = new ComCaseExample(); ComCaseExample example = new ComCaseExample();
example.createCriteria().andCaseidEqualTo(caseID); example.createCriteria().andCaseidEqualTo(caseID);

Loading…
Cancel
Save