|
|
@@ -1173,7 +1173,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
1173
|
1173
|
MsCaseApplication caseApplication = msCaseApplicationMapper.selectByPrimaryKey(id);
|
|
1174
|
1174
|
// 查询案件相关人员
|
|
1175
|
1175
|
MsCaseAffiliate caseAffiliate = msCaseAffiliateMapper.selectByPrimaryKey(id);
|
|
1176
|
|
-
|
|
|
1176
|
+ Integer isReconci = attach.getIsReconci();
|
|
1177
|
1177
|
if(attach.getAnnexId()!=null){
|
|
1178
|
1178
|
MsCaseAttach caseAttach = msCaseAttachMapper.queryAnnexById(attach.getAnnexId());
|
|
1179
|
1179
|
if (caseAttach.getAnnexType() == AnnexTypeEnum.MEDIATE_BOOK.getCode()) {
|
|
|
@@ -1306,7 +1306,67 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
1306
|
1306
|
}
|
|
1307
|
1307
|
}
|
|
1308
|
1308
|
}
|
|
1309
|
|
- /*DeptIdentify deptIdentify1 = new DeptIdentify();
|
|
|
1309
|
+
|
|
|
1310
|
+ if(isReconci.intValue()==1){
|
|
|
1311
|
+ EsignHttpResponse response3 = SignAward.createByFileReconci(sealSignRecord);
|
|
|
1312
|
+
|
|
|
1313
|
+ JSONObject jsonObject3 = JSONObject.parseObject(response3.getBody());
|
|
|
1314
|
+ if (jsonObject3 != null) {
|
|
|
1315
|
+ if (jsonObject3.getIntValue("code") == 0) {
|
|
|
1316
|
+ //获取签署流程ID
|
|
|
1317
|
+ JSONObject data1 = jsonObject3.getJSONObject("data");
|
|
|
1318
|
+ String signFlowId = data1.getString("signFlowId");
|
|
|
1319
|
+ //保存案件id,文件id,文件名称.流程id到签署用印记录表里
|
|
|
1320
|
+ sealSignRecord.setCaseAppliId(caseApplication.getId());
|
|
|
1321
|
+ sealSignRecord.setSignFlowid(signFlowId);
|
|
|
1322
|
+ sealSignRecord.setSignFlowStatus(1);//待签名
|
|
|
1323
|
+ MsSealSignRecord msSealSignRecord = new MsSealSignRecord();
|
|
|
1324
|
+ BeanUtil.copyProperties(sealSignRecord, msSealSignRecord);
|
|
|
1325
|
+ msSealSignRecord.setFileId(sealSignRecord.getFileid());
|
|
|
1326
|
+ msSealSignRecord.setFileName(sealSignRecord.getFilename());
|
|
|
1327
|
+ msSealSignRecord.setSignFlowId(sealSignRecord.getSignFlowid());
|
|
|
1328
|
+ sealSignRecordMapper.insert(msSealSignRecord);
|
|
|
1329
|
+
|
|
|
1330
|
+ SealSignRecord sealSignRecordapply = new SealSignRecord();
|
|
|
1331
|
+ sealSignRecordapply.setSignFlowid(signFlowId);
|
|
|
1332
|
+ sealSignRecordapply.setPensonAccount(caseAffiliate.getContactTelphoneAgent());
|
|
|
1333
|
+ EsignHttpResponse signUrl = SignAward.signUrlMediation(sealSignRecordapply);
|
|
|
1334
|
+ JsonObject signUrlJsonObject = gson.fromJson(signUrl.getBody(), JsonObject.class);
|
|
|
1335
|
+ JsonObject signUrlData = signUrlJsonObject.getAsJsonObject("data");
|
|
|
1336
|
+ String urlapply = signUrlData.get("shortUrl").getAsString();
|
|
|
1337
|
+ String urlapplynew = urlapply.substring(urlapply.lastIndexOf("/")+1);
|
|
|
1338
|
+
|
|
|
1339
|
+ //发送签名链接短信,尊敬的{1}用户,您的{2}调解案件,签名链接{3},请点击链接签名,如非本人操作,请忽略本短信
|
|
|
1340
|
+ SmsUtils.SendSmsRequest request = new SmsUtils.SendSmsRequest();
|
|
|
1341
|
+ request.setTemplateId("2047719");
|
|
|
1342
|
+ request.setPhone(caseAffiliate.getContactTelphoneAgent());
|
|
|
1343
|
+ request.setTemplateParamSet(new String[]{caseAffiliate.getNameAgent(), caseApplication.getCaseNum(),urlapplynew});
|
|
|
1344
|
+ Boolean aBoolean = SmsUtils.sendSms(request);
|
|
|
1345
|
+
|
|
|
1346
|
+ SealSignRecord sealSignRecordRespon = new SealSignRecord();
|
|
|
1347
|
+ sealSignRecordRespon.setSignFlowid(signFlowId);
|
|
|
1348
|
+ sealSignRecordRespon.setPensonAccount(caseAffiliate.getRespondentPhone());
|
|
|
1349
|
+ EsignHttpResponse signUrlRespon = SignAward.signUrlMediation(sealSignRecordRespon);
|
|
|
1350
|
+ JsonObject signUrlJsonObjectRespon = gson.fromJson(signUrlRespon.getBody(), JsonObject.class);
|
|
|
1351
|
+ JsonObject signUrlDataRespon = signUrlJsonObjectRespon.getAsJsonObject("data");
|
|
|
1352
|
+ String urlRespon = signUrlDataRespon.get("shortUrl").getAsString();
|
|
|
1353
|
+ String urlResponnew = urlRespon.substring(urlRespon.lastIndexOf("/")+1);
|
|
|
1354
|
+
|
|
|
1355
|
+ SmsUtils.SendSmsRequest request1 = new SmsUtils.SendSmsRequest();
|
|
|
1356
|
+ request1.setTemplateId("2047719");
|
|
|
1357
|
+ request1.setPhone(caseAffiliate.getRespondentPhone());
|
|
|
1358
|
+ request1.setTemplateParamSet(new String[]{caseAffiliate.getRespondentName(), caseApplication.getCaseNum(),urlResponnew});
|
|
|
1359
|
+ Boolean aBoolean1 = SmsUtils.sendSms(request1);
|
|
|
1360
|
+
|
|
|
1361
|
+ } else {
|
|
|
1362
|
+ throw new ServiceException(jsonObject3.getString("message"));
|
|
|
1363
|
+ }
|
|
|
1364
|
+ } else {
|
|
|
1365
|
+ return AjaxResult.error();
|
|
|
1366
|
+ }
|
|
|
1367
|
+
|
|
|
1368
|
+ }else {
|
|
|
1369
|
+ /*DeptIdentify deptIdentify1 = new DeptIdentify();
|
|
1310
|
1370
|
deptIdentify1.setSealStatus(1); // 印章状态为启用
|
|
1311
|
1371
|
//根据机构名称查询部门id
|
|
1312
|
1372
|
SysDept sysDept = new SysDept();
|
|
|
@@ -1324,106 +1384,109 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
1324
|
1384
|
sealIds.add(sealId);
|
|
1325
|
1385
|
}
|
|
1326
|
1386
|
}*/
|
|
1327
|
|
- String orgnizeName = sealSignRecord.getOrgnizeName(); //机构名称
|
|
1328
|
|
- String orgnizeNamepsnName = sealSignRecord.getOrgnizeNamepsnName(); //机构经办人姓名
|
|
1329
|
|
- String orgnizeNamePsnAccount = sealSignRecord.getOrgnizeNamePsnAccount(); //机构经办人联系方式
|
|
1330
|
|
- //查询机构信息
|
|
1331
|
|
- DeptIdentify deptIdentify1 = new DeptIdentify();
|
|
1332
|
|
- deptIdentify1.setIdentifyName(orgnizeName);
|
|
1333
|
|
- deptIdentify1.setOperName(orgnizeNamepsnName);
|
|
1334
|
|
- deptIdentify1.setOperPhone(orgnizeNamePsnAccount);
|
|
1335
|
|
- List<DeptIdentify> deptIdentifies = deptIdentifyMapper.selectDeptIdentify(deptIdentify1);
|
|
1336
|
|
- if (deptIdentifies != null && deptIdentifies.size() > 0) {
|
|
1337
|
|
- Long iddeptIdent = deptIdentifies.get(0).getId();
|
|
1338
|
|
- SealManage sealManage = new SealManage();
|
|
1339
|
|
- sealManage.setIdentifyId(iddeptIdent);
|
|
1340
|
|
- List<String> sealIdList = new ArrayList<>();
|
|
1341
|
|
- List<SealManage> selectSealList = sealManageMapper.selectSealList(sealManage);
|
|
1342
|
|
- if (selectSealList != null && selectSealList.size() > 0) {
|
|
1343
|
|
- for (SealManage manage : selectSealList) {
|
|
1344
|
|
- Integer sealStatus = manage.getSealStatus();
|
|
1345
|
|
- Integer isUse = manage.getIsUse();
|
|
1346
|
|
- if (sealStatus == 1 && isUse ==1) {
|
|
1347
|
|
- sealIdList.add(manage.getSealId());
|
|
|
1387
|
+ String orgnizeName = sealSignRecord.getOrgnizeName(); //机构名称
|
|
|
1388
|
+ String orgnizeNamepsnName = sealSignRecord.getOrgnizeNamepsnName(); //机构经办人姓名
|
|
|
1389
|
+ String orgnizeNamePsnAccount = sealSignRecord.getOrgnizeNamePsnAccount(); //机构经办人联系方式
|
|
|
1390
|
+ //查询机构信息
|
|
|
1391
|
+ DeptIdentify deptIdentify1 = new DeptIdentify();
|
|
|
1392
|
+ deptIdentify1.setIdentifyName(orgnizeName);
|
|
|
1393
|
+ deptIdentify1.setOperName(orgnizeNamepsnName);
|
|
|
1394
|
+ deptIdentify1.setOperPhone(orgnizeNamePsnAccount);
|
|
|
1395
|
+ List<DeptIdentify> deptIdentifies = deptIdentifyMapper.selectDeptIdentify(deptIdentify1);
|
|
|
1396
|
+ if (deptIdentifies != null && deptIdentifies.size() > 0) {
|
|
|
1397
|
+ Long iddeptIdent = deptIdentifies.get(0).getId();
|
|
|
1398
|
+ SealManage sealManage = new SealManage();
|
|
|
1399
|
+ sealManage.setIdentifyId(iddeptIdent);
|
|
|
1400
|
+ List<String> sealIdList = new ArrayList<>();
|
|
|
1401
|
+ List<SealManage> selectSealList = sealManageMapper.selectSealList(sealManage);
|
|
|
1402
|
+ if (selectSealList != null && selectSealList.size() > 0) {
|
|
|
1403
|
+ for (SealManage manage : selectSealList) {
|
|
|
1404
|
+ Integer sealStatus = manage.getSealStatus();
|
|
|
1405
|
+ Integer isUse = manage.getIsUse();
|
|
|
1406
|
+ if (sealStatus == 1 && isUse ==1) {
|
|
|
1407
|
+ sealIdList.add(manage.getSealId());
|
|
|
1408
|
+ }
|
|
1348
|
1409
|
}
|
|
1349
|
|
- }
|
|
1350
|
|
- EsignHttpResponse response3 = SignAward.createByFileMediation(sealSignRecord, sealIdList);
|
|
1351
|
|
-
|
|
1352
|
|
- JSONObject jsonObject3 = JSONObject.parseObject(response3.getBody());
|
|
1353
|
|
- if (jsonObject3 != null) {
|
|
1354
|
|
- if (jsonObject3.getIntValue("code") == 0) {
|
|
1355
|
|
- //获取签署流程ID
|
|
1356
|
|
- JSONObject data1 = jsonObject3.getJSONObject("data");
|
|
1357
|
|
- String signFlowId = data1.getString("signFlowId");
|
|
1358
|
|
- //保存案件id,文件id,文件名称.流程id到签署用印记录表里
|
|
1359
|
|
- sealSignRecord.setCaseAppliId(caseApplication.getId());
|
|
1360
|
|
- sealSignRecord.setSignFlowid(signFlowId);
|
|
1361
|
|
- sealSignRecord.setSignFlowStatus(1);//待签名
|
|
1362
|
|
- MsSealSignRecord msSealSignRecord = new MsSealSignRecord();
|
|
1363
|
|
- BeanUtil.copyProperties(sealSignRecord, msSealSignRecord);
|
|
1364
|
|
- msSealSignRecord.setFileId(sealSignRecord.getFileid());
|
|
1365
|
|
- msSealSignRecord.setFileName(sealSignRecord.getFilename());
|
|
1366
|
|
- msSealSignRecord.setSignFlowId(sealSignRecord.getSignFlowid());
|
|
1367
|
|
- msSealSignRecord.setOrgnNamePsnAcc(sealSignRecord.getOrgnizeNamePsnAccount());
|
|
1368
|
|
- msSealSignRecord.setOrgnNamePsnName(sealSignRecord.getOrgnizeNamepsnName());
|
|
1369
|
|
- sealSignRecordMapper.insert(msSealSignRecord);
|
|
1370
|
|
-
|
|
1371
|
|
- SealSignRecord sealSignRecordapply = new SealSignRecord();
|
|
1372
|
|
- sealSignRecordapply.setSignFlowid(signFlowId);
|
|
1373
|
|
- sealSignRecordapply.setPensonAccount(caseAffiliate.getContactTelphoneAgent());
|
|
1374
|
|
- EsignHttpResponse signUrl = SignAward.signUrlMediation(sealSignRecordapply);
|
|
1375
|
|
- JsonObject signUrlJsonObject = gson.fromJson(signUrl.getBody(), JsonObject.class);
|
|
1376
|
|
- JsonObject signUrlData = signUrlJsonObject.getAsJsonObject("data");
|
|
1377
|
|
- String urlapply = signUrlData.get("shortUrl").getAsString();
|
|
1378
|
|
- String urlapplynew = urlapply.substring(urlapply.lastIndexOf("/")+1);
|
|
1379
|
|
-
|
|
1380
|
|
- //发送签名链接短信,尊敬的{1}用户,您的{2}调解案件,签名链接{3},请点击链接签名,如非本人操作,请忽略本短信
|
|
1381
|
|
- SmsUtils.SendSmsRequest request = new SmsUtils.SendSmsRequest();
|
|
1382
|
|
- request.setTemplateId("2047719");
|
|
1383
|
|
- request.setPhone(caseAffiliate.getContactTelphoneAgent());
|
|
1384
|
|
- request.setTemplateParamSet(new String[]{caseAffiliate.getNameAgent(), caseApplication.getCaseNum(),urlapplynew});
|
|
1385
|
|
- Boolean aBoolean = SmsUtils.sendSms(request);
|
|
1386
|
|
-
|
|
1387
|
|
- SealSignRecord sealSignRecordRespon = new SealSignRecord();
|
|
1388
|
|
- sealSignRecordRespon.setSignFlowid(signFlowId);
|
|
1389
|
|
- sealSignRecordRespon.setPensonAccount(caseAffiliate.getRespondentPhone());
|
|
1390
|
|
- EsignHttpResponse signUrlRespon = SignAward.signUrlMediation(sealSignRecordRespon);
|
|
1391
|
|
- JsonObject signUrlJsonObjectRespon = gson.fromJson(signUrlRespon.getBody(), JsonObject.class);
|
|
1392
|
|
- JsonObject signUrlDataRespon = signUrlJsonObjectRespon.getAsJsonObject("data");
|
|
1393
|
|
- String urlRespon = signUrlDataRespon.get("shortUrl").getAsString();
|
|
1394
|
|
- String urlResponnew = urlRespon.substring(urlRespon.lastIndexOf("/")+1);
|
|
1395
|
|
-
|
|
1396
|
|
- SmsUtils.SendSmsRequest request1 = new SmsUtils.SendSmsRequest();
|
|
1397
|
|
- request1.setTemplateId("2047719");
|
|
1398
|
|
- request1.setPhone(caseAffiliate.getRespondentPhone());
|
|
1399
|
|
- request1.setTemplateParamSet(new String[]{caseAffiliate.getRespondentName(), caseApplication.getCaseNum(),urlResponnew});
|
|
1400
|
|
- Boolean aBoolean1 = SmsUtils.sendSms(request1);
|
|
1401
|
|
-
|
|
1402
|
|
- SealSignRecord sealSignRecordMedi = new SealSignRecord();
|
|
1403
|
|
- sealSignRecordMedi.setSignFlowid(signFlowId);
|
|
1404
|
|
- sealSignRecordMedi.setPensonAccount(sealSignRecord.getPensonAccountMedi());
|
|
1405
|
|
- EsignHttpResponse signUrlResponMedi = SignAward.signUrlMediation(sealSignRecordMedi);
|
|
1406
|
|
- JsonObject signUrlJsonObjectResponMedi = gson.fromJson(signUrlResponMedi.getBody(), JsonObject.class);
|
|
1407
|
|
- JsonObject signUrlDataResponMedi = signUrlJsonObjectResponMedi.getAsJsonObject("data");
|
|
1408
|
|
- String urlResponMedi = signUrlDataResponMedi.get("shortUrl").getAsString();
|
|
1409
|
|
- String urlResponnewMedi = urlResponMedi.substring(urlResponMedi.lastIndexOf("/")+1);
|
|
1410
|
|
-
|
|
1411
|
|
- SmsUtils.SendSmsRequest requestMedi = new SmsUtils.SendSmsRequest();
|
|
1412
|
|
- requestMedi.setTemplateId("2047719");
|
|
1413
|
|
- requestMedi.setPhone(sealSignRecord.getPensonAccountMedi());
|
|
1414
|
|
- requestMedi.setTemplateParamSet(new String[]{sealSignRecord.getPensonNameMedi(), caseApplication.getCaseNum(),urlResponnewMedi});
|
|
1415
|
|
- Boolean aBooleanMedi = SmsUtils.sendSms(requestMedi);
|
|
|
1410
|
+ EsignHttpResponse response3 = SignAward.createByFileMediation(sealSignRecord, sealIdList);
|
|
|
1411
|
+
|
|
|
1412
|
+ JSONObject jsonObject3 = JSONObject.parseObject(response3.getBody());
|
|
|
1413
|
+ if (jsonObject3 != null) {
|
|
|
1414
|
+ if (jsonObject3.getIntValue("code") == 0) {
|
|
|
1415
|
+ //获取签署流程ID
|
|
|
1416
|
+ JSONObject data1 = jsonObject3.getJSONObject("data");
|
|
|
1417
|
+ String signFlowId = data1.getString("signFlowId");
|
|
|
1418
|
+ //保存案件id,文件id,文件名称.流程id到签署用印记录表里
|
|
|
1419
|
+ sealSignRecord.setCaseAppliId(caseApplication.getId());
|
|
|
1420
|
+ sealSignRecord.setSignFlowid(signFlowId);
|
|
|
1421
|
+ sealSignRecord.setSignFlowStatus(1);//待签名
|
|
|
1422
|
+ MsSealSignRecord msSealSignRecord = new MsSealSignRecord();
|
|
|
1423
|
+ BeanUtil.copyProperties(sealSignRecord, msSealSignRecord);
|
|
|
1424
|
+ msSealSignRecord.setFileId(sealSignRecord.getFileid());
|
|
|
1425
|
+ msSealSignRecord.setFileName(sealSignRecord.getFilename());
|
|
|
1426
|
+ msSealSignRecord.setSignFlowId(sealSignRecord.getSignFlowid());
|
|
|
1427
|
+ msSealSignRecord.setOrgnNamePsnAcc(sealSignRecord.getOrgnizeNamePsnAccount());
|
|
|
1428
|
+ msSealSignRecord.setOrgnNamePsnName(sealSignRecord.getOrgnizeNamepsnName());
|
|
|
1429
|
+ sealSignRecordMapper.insert(msSealSignRecord);
|
|
|
1430
|
+
|
|
|
1431
|
+ SealSignRecord sealSignRecordapply = new SealSignRecord();
|
|
|
1432
|
+ sealSignRecordapply.setSignFlowid(signFlowId);
|
|
|
1433
|
+ sealSignRecordapply.setPensonAccount(caseAffiliate.getContactTelphoneAgent());
|
|
|
1434
|
+ EsignHttpResponse signUrl = SignAward.signUrlMediation(sealSignRecordapply);
|
|
|
1435
|
+ JsonObject signUrlJsonObject = gson.fromJson(signUrl.getBody(), JsonObject.class);
|
|
|
1436
|
+ JsonObject signUrlData = signUrlJsonObject.getAsJsonObject("data");
|
|
|
1437
|
+ String urlapply = signUrlData.get("shortUrl").getAsString();
|
|
|
1438
|
+ String urlapplynew = urlapply.substring(urlapply.lastIndexOf("/")+1);
|
|
|
1439
|
+
|
|
|
1440
|
+ //发送签名链接短信,尊敬的{1}用户,您的{2}调解案件,签名链接{3},请点击链接签名,如非本人操作,请忽略本短信
|
|
|
1441
|
+ SmsUtils.SendSmsRequest request = new SmsUtils.SendSmsRequest();
|
|
|
1442
|
+ request.setTemplateId("2047719");
|
|
|
1443
|
+ request.setPhone(caseAffiliate.getContactTelphoneAgent());
|
|
|
1444
|
+ request.setTemplateParamSet(new String[]{caseAffiliate.getNameAgent(), caseApplication.getCaseNum(),urlapplynew});
|
|
|
1445
|
+ Boolean aBoolean = SmsUtils.sendSms(request);
|
|
|
1446
|
+
|
|
|
1447
|
+ SealSignRecord sealSignRecordRespon = new SealSignRecord();
|
|
|
1448
|
+ sealSignRecordRespon.setSignFlowid(signFlowId);
|
|
|
1449
|
+ sealSignRecordRespon.setPensonAccount(caseAffiliate.getRespondentPhone());
|
|
|
1450
|
+ EsignHttpResponse signUrlRespon = SignAward.signUrlMediation(sealSignRecordRespon);
|
|
|
1451
|
+ JsonObject signUrlJsonObjectRespon = gson.fromJson(signUrlRespon.getBody(), JsonObject.class);
|
|
|
1452
|
+ JsonObject signUrlDataRespon = signUrlJsonObjectRespon.getAsJsonObject("data");
|
|
|
1453
|
+ String urlRespon = signUrlDataRespon.get("shortUrl").getAsString();
|
|
|
1454
|
+ String urlResponnew = urlRespon.substring(urlRespon.lastIndexOf("/")+1);
|
|
|
1455
|
+
|
|
|
1456
|
+ SmsUtils.SendSmsRequest request1 = new SmsUtils.SendSmsRequest();
|
|
|
1457
|
+ request1.setTemplateId("2047719");
|
|
|
1458
|
+ request1.setPhone(caseAffiliate.getRespondentPhone());
|
|
|
1459
|
+ request1.setTemplateParamSet(new String[]{caseAffiliate.getRespondentName(), caseApplication.getCaseNum(),urlResponnew});
|
|
|
1460
|
+ Boolean aBoolean1 = SmsUtils.sendSms(request1);
|
|
|
1461
|
+
|
|
|
1462
|
+ SealSignRecord sealSignRecordMedi = new SealSignRecord();
|
|
|
1463
|
+ sealSignRecordMedi.setSignFlowid(signFlowId);
|
|
|
1464
|
+ sealSignRecordMedi.setPensonAccount(sealSignRecord.getPensonAccountMedi());
|
|
|
1465
|
+ EsignHttpResponse signUrlResponMedi = SignAward.signUrlMediation(sealSignRecordMedi);
|
|
|
1466
|
+ JsonObject signUrlJsonObjectResponMedi = gson.fromJson(signUrlResponMedi.getBody(), JsonObject.class);
|
|
|
1467
|
+ JsonObject signUrlDataResponMedi = signUrlJsonObjectResponMedi.getAsJsonObject("data");
|
|
|
1468
|
+ String urlResponMedi = signUrlDataResponMedi.get("shortUrl").getAsString();
|
|
|
1469
|
+ String urlResponnewMedi = urlResponMedi.substring(urlResponMedi.lastIndexOf("/")+1);
|
|
|
1470
|
+
|
|
|
1471
|
+ SmsUtils.SendSmsRequest requestMedi = new SmsUtils.SendSmsRequest();
|
|
|
1472
|
+ requestMedi.setTemplateId("2047719");
|
|
|
1473
|
+ requestMedi.setPhone(sealSignRecord.getPensonAccountMedi());
|
|
|
1474
|
+ requestMedi.setTemplateParamSet(new String[]{sealSignRecord.getPensonNameMedi(), caseApplication.getCaseNum(),urlResponnewMedi});
|
|
|
1475
|
+ Boolean aBooleanMedi = SmsUtils.sendSms(requestMedi);
|
|
1416
|
1476
|
|
|
|
1477
|
+ } else {
|
|
|
1478
|
+ throw new ServiceException(jsonObject3.getString("message"));
|
|
|
1479
|
+ }
|
|
1417
|
1480
|
} else {
|
|
1418
|
|
- throw new ServiceException(jsonObject3.getString("message"));
|
|
|
1481
|
+ return AjaxResult.error();
|
|
1419
|
1482
|
}
|
|
1420
|
|
- } else {
|
|
1421
|
|
- return AjaxResult.error();
|
|
1422
|
1483
|
}
|
|
|
1484
|
+ } else {
|
|
|
1485
|
+ return AjaxResult.error();
|
|
1423
|
1486
|
}
|
|
1424
|
|
- } else {
|
|
1425
|
|
- return AjaxResult.error();
|
|
1426
|
1487
|
}
|
|
|
1488
|
+
|
|
|
1489
|
+
|
|
1427
|
1490
|
}else {
|
|
1428
|
1491
|
return AjaxResult.error();
|
|
1429
|
1492
|
}
|