|
|
@@ -2419,6 +2419,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
2419
|
2419
|
@Transactional(rollbackFor = Exception.class)
|
|
2420
|
2420
|
@Override
|
|
2421
|
2421
|
public AjaxResult mediation(MsCaseApplicationReq req) throws EsignDemoException, InterruptedException {
|
|
|
2422
|
+ req.setSealFlag(null);
|
|
2422
|
2423
|
// 查询案件是否存在
|
|
2423
|
2424
|
MsCaseApplication application = msCaseApplicationMapper.selectByPrimaryKey(req.getId());
|
|
2424
|
2425
|
if (application == null) {
|
|
|
@@ -2709,7 +2710,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
2709
|
2710
|
if (caseFlow != null) {
|
|
2710
|
2711
|
application.setCaseFlowId(caseFlow.getId());
|
|
2711
|
2712
|
application.setCaseStatusName(caseFlow.getCaseStatusName());
|
|
2712
|
|
- msCaseApplicationMapper.updateByPrimaryKey(application);
|
|
|
2713
|
+ msCaseApplicationMapper.updateByPrimaryKeySelective(application);
|
|
2713
|
2714
|
// 新增日志
|
|
2714
|
2715
|
CaseLogUtils.insertCaseLog(application.getId(), currentFlow.getNodeId(), currentFlow.getCaseStatusName(), "");
|
|
2715
|
2716
|
}
|
|
|
@@ -2748,7 +2749,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
2748
|
2749
|
application.setCaseFlowId(caseFlow.getId());
|
|
2749
|
2750
|
application.setCaseStatusName(caseFlow.getCaseStatusName());
|
|
2750
|
2751
|
application.setMediaResult(mediaResult);
|
|
2751
|
|
- msCaseApplicationMapper.updateByPrimaryKey(application);
|
|
|
2752
|
+ msCaseApplicationMapper.updateByPrimaryKeySelective(application);
|
|
2752
|
2753
|
}
|
|
2753
|
2754
|
return AjaxResult.success();
|
|
2754
|
2755
|
} else if (mediaResult == 3) {
|
|
|
@@ -2760,7 +2761,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
2760
|
2761
|
application.setCaseFlowId(caseFlow.getId());
|
|
2761
|
2762
|
application.setCaseStatusName(caseFlow.getCaseStatusName());
|
|
2762
|
2763
|
application.setMediaResult(mediaResult);
|
|
2763
|
|
- msCaseApplicationMapper.updateByPrimaryKey(application);
|
|
|
2764
|
+ msCaseApplicationMapper.updateByPrimaryKeySelective(application);
|
|
2764
|
2765
|
// 新增日志
|
|
2765
|
2766
|
CaseLogUtils.insertCaseLog(application.getId(), currentFlow.getNodeId(), currentFlow.getCaseStatusName(), "");
|
|
2766
|
2767
|
// 新增结束日志
|
|
|
@@ -2802,7 +2803,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
2802
|
2803
|
application.setCaseFlowId(caseFlow.getId());
|
|
2803
|
2804
|
application.setCaseStatusName(caseFlow.getCaseStatusName());
|
|
2804
|
2805
|
application.setMediaResult(mediaResult);
|
|
2805
|
|
- msCaseApplicationMapper.updateByPrimaryKey(application);
|
|
|
2806
|
+ msCaseApplicationMapper.updateByPrimaryKeySelective(application);
|
|
2806
|
2807
|
}
|
|
2807
|
2808
|
|
|
2808
|
2809
|
return AjaxResult.success();
|
|
|
@@ -3051,7 +3052,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
3051
|
3052
|
application.setCaseFlowId(caseFlow.getId());
|
|
3052
|
3053
|
application.setCaseStatusName(caseFlow.getCaseStatusName());
|
|
3053
|
3054
|
application.setMediaResult(mediaResult);
|
|
3054
|
|
- msCaseApplicationMapper.updateByPrimaryKey(application);
|
|
|
3055
|
+ msCaseApplicationMapper.updateByPrimaryKeySelective(application);
|
|
3055
|
3056
|
// 新增日志
|
|
3056
|
3057
|
CaseLogUtils.insertCaseLog(application.getId(), currentFlow.getNodeId(), currentFlow.getCaseStatusName(), "");
|
|
3057
|
3058
|
if (mediaResult == 2 || mediaResult == 3 || mediaResult == 4) {
|