|
|
@@ -461,8 +461,8 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
461
|
461
|
*/
|
|
462
|
462
|
@Override
|
|
463
|
463
|
public String sendRoomNoMessage(SendRoomNoMessageVO messageVO) {
|
|
464
|
|
- Arbitrator arbitrator = arbitratorMapper.selectArbitratorById(messageVO.getId(), 2);
|
|
465
|
|
- if(null==arbitrator){
|
|
|
464
|
+ CaseAffiliate caseAffiliate = caseAffiliateMapper.selectCaseAffiliateByIdentityType(messageVO.getId(), 2);
|
|
|
465
|
+ if(null==caseAffiliate){
|
|
466
|
466
|
return "被申请人不存在";
|
|
467
|
467
|
}
|
|
468
|
468
|
CaseApplication caseApplication = new CaseApplication();
|
|
|
@@ -473,9 +473,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
473
|
473
|
SmsUtils.SendSmsRequest request = new SmsUtils.SendSmsRequest();
|
|
474
|
474
|
request.setTemplateId("1948332");
|
|
475
|
475
|
// 1948332 普通短信 开庭审理房间号通知 尊敬的{1}用户,您的{2}仲裁案件,开庭审理房间号为{3},请知晓,如非本人操作,请忽略本短信。
|
|
476
|
|
- request.setPhone(arbitrator.getTelephone());
|
|
477
|
|
- request.setTemplateParamSet(new String[]{arbitrator.getArbitratorName(), caseApplicationselect.getCaseNum(), messageVO.getRoomNo()});
|
|
478
|
|
-
|
|
|
476
|
+ request.setPhone(caseAffiliate.getContactTelphone());
|
|
|
477
|
+ request.setTemplateParamSet(new String[]{caseAffiliate.getName(), caseApplicationselect.getCaseNum(), messageVO.getRoomNo()});
|
|
|
478
|
+ SmsUtils.sendSms(request);
|
|
479
|
479
|
|
|
480
|
480
|
return "短信发送成功";
|
|
481
|
481
|
}
|