修改部门功能
This commit is contained in:
+19
-1
@@ -2073,8 +2073,26 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
@Transactional
|
||||
public int pendTralSure(CaseApplication caseApplication) {
|
||||
// caseApplication.setCaseStatus(CaseApplicationConstants.CHECK_ARBITRATION_METHOD);
|
||||
|
||||
caseApplication.setCaseStatus(CaseApplicationConstants.MODIFY_HEARDATE);
|
||||
int rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
||||
Integer isAgreePendTral = caseApplication.getIsAgreePendTral();
|
||||
int rows = 0;
|
||||
//同意组庭
|
||||
if(isAgreePendTral!=null&&isAgreePendTral==1){
|
||||
rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
||||
}else {
|
||||
List<Arbitrator> arbitrators = caseApplication.getArbitrators();
|
||||
// 仲裁员信息
|
||||
if(arbitrators!=null&&arbitrators.size()>0){
|
||||
List<Long> ids = arbitrators.stream().map(Arbitrator::getId).collect(Collectors.toList());
|
||||
List<String> arbitratorNames = arbitrators.stream().map(Arbitrator::getArbitratorName).collect(Collectors.toList());
|
||||
String idstr = ids.stream().map(Object::toString).collect(Collectors.joining(","));
|
||||
String arbitratorNamestr = arbitratorNames.stream().map(Object::toString).collect(Collectors.joining(","));
|
||||
caseApplication.setArbitratorId(idstr);
|
||||
caseApplication.setArbitratorName(arbitratorNamestr);
|
||||
rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
||||
}
|
||||
}
|
||||
|
||||
//发送短信通知
|
||||
SmsUtils.SendSmsRequest request = new SmsUtils.SendSmsRequest();
|
||||
|
||||
Reference in New Issue
Block a user