|
|
@@ -2144,10 +2144,25 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
2144
|
2144
|
* @return
|
|
2145
|
2145
|
*/
|
|
2146
|
2146
|
@Override
|
|
|
2147
|
+ @Transactional
|
|
2147
|
2148
|
public AjaxResult arbitratorCheckArbitrateRecord(CaseApplication caseApplication) {
|
|
2148
|
2149
|
// 同意后状态改为待部门长审核仲裁文书(CHECK_ARBITRATION = 12),拒绝改为待秘书核验仲裁文书(VERPRIF_ARBITRATION = 11)
|
|
2149
|
|
-
|
|
2150
|
|
- return null;
|
|
|
2150
|
+ int rows = 0;
|
|
|
2151
|
+ ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
|
|
|
2152
|
+ arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecord);
|
|
|
2153
|
+ Integer agreeOrNotCheck = caseApplication.getAgreeOrNotCheck();
|
|
|
2154
|
+ if (agreeOrNotCheck.intValue() == 1) {
|
|
|
2155
|
+ caseApplication.setCaseStatus(CaseApplicationConstants.CHECK_ARBITRATION);
|
|
|
2156
|
+ // 新增日志
|
|
|
2157
|
+ insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CHECK_ARBITRATION, "");
|
|
|
2158
|
+ rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
|
|
2159
|
+ } else if (agreeOrNotCheck.intValue() == 2) {//拒绝审核
|
|
|
2160
|
+ caseApplication.setCaseStatus(CaseApplicationConstants.VERPRIF_ARBITRATION);
|
|
|
2161
|
+ // 新增日志
|
|
|
2162
|
+ insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, "");
|
|
|
2163
|
+ rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
|
|
2164
|
+ }
|
|
|
2165
|
+ return success();
|
|
2151
|
2166
|
}
|
|
2152
|
2167
|
|
|
2153
|
2168
|
@Override
|