Merge branch 'qtz1' of SH-Arbitrate/Mediation-Backend into dev
This commit was merged in pull request #95.
This commit is contained in:
+20
-1
@@ -462,6 +462,25 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
||||
Integer caseFlowId = caseApplicationselect.getCaseFlowId();
|
||||
MsCaseFlow msCaseFlow = caseFlowMapper.selectByPrimaryKey(caseFlowId);
|
||||
|
||||
List<MsCaseLogRecordVO> recordsNew = new ArrayList<>();
|
||||
if (records != null && records.size() > 0) {
|
||||
for (MsCaseLogRecordVO msCaseLogRecordVO : records) {
|
||||
String content = msCaseLogRecordVO.getContent();
|
||||
if(StringUtils.isNotEmpty(content)){
|
||||
if(content.equals("结束")){
|
||||
recordsNew.add(msCaseLogRecordVO);
|
||||
}else {
|
||||
if(!content.equals(msCaseFlow.getNodeName())){
|
||||
recordsNew.add(msCaseLogRecordVO);
|
||||
}else{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CaseLogRecord caseLogRecordin = new CaseLogRecord();
|
||||
List<MsCaseLogRecordVO> caseLogRecordsin = new ArrayList<>();
|
||||
if(!"结束".equals(msCaseFlow.getNodeName())){
|
||||
@@ -519,7 +538,7 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
||||
}
|
||||
|
||||
}
|
||||
datas.put("finishCasenode", records);
|
||||
datas.put("finishCasenode", recordsNew);
|
||||
datas.put("inCasenode", caseLogRecordsin);
|
||||
datas.put("nextCasenode", caseLogRecordsnext);
|
||||
return success(datas);
|
||||
|
||||
Reference in New Issue
Block a user