|
|
@@ -1886,7 +1886,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
1886
|
1886
|
|
|
1887
|
1887
|
@Override
|
|
1888
|
1888
|
@Transactional
|
|
1889
|
|
- public int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String rejectReason) {
|
|
|
1889
|
+ public int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String caseCheckReject) {
|
|
1890
|
1890
|
//提交立案审查
|
|
1891
|
1891
|
int rows = 0;
|
|
1892
|
1892
|
for (Long id : ids) {
|
|
|
@@ -1902,8 +1902,14 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
1902
|
1902
|
ArbitrateRecord arbitrateRecordsel = new ArbitrateRecord();
|
|
1903
|
1903
|
arbitrateRecordsel.setCaseAppliId(id);
|
|
1904
|
1904
|
ArbitrateRecord arbitrateRecordnew = arbitrateRecordMapper.selectArbitrateRecord(arbitrateRecordsel);
|
|
1905
|
|
- arbitrateRecordnew.setCaseCheckReject(rejectReason);
|
|
1906
|
|
- arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecordnew);
|
|
|
1905
|
+ if(arbitrateRecordnew!=null){
|
|
|
1906
|
+ arbitrateRecordnew.setCaseCheckReject(caseCheckReject);
|
|
|
1907
|
+ arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecordnew);
|
|
|
1908
|
+ }else {
|
|
|
1909
|
+ arbitrateRecordsel.setCaseCheckReject(caseCheckReject);
|
|
|
1910
|
+ arbitrateRecordMapper.insertArbitrateRecord(arbitrateRecordsel);
|
|
|
1911
|
+ }
|
|
|
1912
|
+
|
|
1907
|
1913
|
|
|
1908
|
1914
|
}
|
|
1909
|
1915
|
// 新增日志
|