1. 修复bug

topo_dev
xueqingkun
parent 695db87931
commit 6c4d6d425c

@ -166,12 +166,10 @@ public class NoteRecordSplitServiceImpl extends ServiceImpl<NoteRecordSplitMappe
return caseTaskRecordService.save(newCaseTaskRecord); return caseTaskRecordService.save(newCaseTaskRecord);
} else if (0 == splitSize) { } else if (0 == splitSize) {
// 如果笔录对为0,就直接不需要拆分,直接认为任务成功 // 如果笔录对为0,就直接不需要拆分,直接认为任务成功
CaseTaskRecord newCaseTaskRecord = new CaseTaskRecord(); CaseTaskRecord caseTaskRecord = caseTaskRecordOpt.get();
newCaseTaskRecord.setCaseId(caseId); caseTaskRecord.setStatus(2);
newCaseTaskRecord.setRecordId(recordId); caseTaskRecord.setSubmitTime(LocalDateTime.now());
newCaseTaskRecord.setStatus(2); caseTaskRecordService.saveOrUpdate(caseTaskRecord);
newCaseTaskRecord.setSubmitTime(LocalDateTime.now());
caseTaskRecordService.save(newCaseTaskRecord);
return false; return false;
} else { } else {
// 如果存在,则校验时间是否已经超过1天,如果超过了1天还没有执行完毕,就重新提交这个任务 // 如果存在,则校验时间是否已经超过1天,如果超过了1天还没有执行完毕,就重新提交这个任务

@ -44,7 +44,7 @@ public class NoteRecordReqVO {
/** /**
* *
*/ */
private Integer confessionMaterial; private String confessionMaterial;
/** /**
* *
@ -71,7 +71,7 @@ public class NoteRecordReqVO {
} }
noteRecord.setName(name); noteRecord.setName(name);
noteRecord.setRole(role); noteRecord.setRole(role);
noteRecord.setConfessionMaterial(confessionMaterial); //noteRecord.setConfessionMaterial(confessionMaterial);
noteRecord.setLawAsker(lawAsker); noteRecord.setLawAsker(lawAsker);
noteRecord.setConfessionStartTime(confessionStartTime); noteRecord.setConfessionStartTime(confessionStartTime);
noteRecord.setConfessionEndTime(confessionEndTime); noteRecord.setConfessionEndTime(confessionEndTime);

Loading…
Cancel
Save