|
|
@@ -1276,7 +1276,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
1276
|
1276
|
* @param req
|
|
1277
|
1277
|
* @return
|
|
1278
|
1278
|
*/
|
|
1279
|
|
- @Transactional
|
|
|
1279
|
+ @Transactional(rollbackFor = Exception.class)
|
|
1280
|
1280
|
@Override
|
|
1281
|
1281
|
public AjaxResult mediation(MsCaseApplicationReq req) throws EsignDemoException, InterruptedException {
|
|
1282
|
1282
|
// 查询案件是否存在
|
|
|
@@ -1611,14 +1611,25 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
1611
|
1611
|
} else {
|
|
1612
|
1612
|
return AjaxResult.error();
|
|
1613
|
1613
|
}
|
|
1614
|
|
-
|
|
1615
|
1614
|
}
|
|
1616
|
|
-
|
|
1617
|
|
-
|
|
1618
|
1615
|
} else {
|
|
1619
|
1616
|
return AjaxResult.error();
|
|
1620
|
1617
|
}
|
|
1621
|
1618
|
}
|
|
|
1619
|
+
|
|
|
1620
|
+ // 修改案件状态为待签名
|
|
|
1621
|
+ Example flowExample = new Example(MsCaseFlow.class);
|
|
|
1622
|
+ flowExample.createCriteria().andEqualTo("caseStatusName", "待签名");
|
|
|
1623
|
+ MsCaseFlow caseFlow = caseFlowMapper.selectOneByExample(flowExample);
|
|
|
1624
|
+ if(caseFlow != null){
|
|
|
1625
|
+ application.setCaseFlowId(caseFlow.getId());
|
|
|
1626
|
+ application.setCaseStatusName(caseFlow.getCaseStatusName());
|
|
|
1627
|
+ msCaseApplicationMapper.updateByPrimaryKey(application);
|
|
|
1628
|
+ }
|
|
|
1629
|
+
|
|
|
1630
|
+ application.setIsReconci(isReconci);
|
|
|
1631
|
+ application.setMediaResult(mediaResult);
|
|
|
1632
|
+ msCaseApplicationMapper.updateByPrimaryKeySelective(application);
|
|
1622
|
1633
|
}else{
|
|
1623
|
1634
|
return AjaxResult.error();
|
|
1624
|
1635
|
}
|