|
@@ -176,6 +176,7 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
|
|
|
BeanUtil.copyProperties(specialExaminationVo, specialExamination);
|
|
BeanUtil.copyProperties(specialExaminationVo, specialExamination);
|
|
|
String infoId = specialExamination.getInfoId();
|
|
String infoId = specialExamination.getInfoId();
|
|
|
SmsCheckCustomerInfo customerInfo = infoService.getById(infoId);
|
|
SmsCheckCustomerInfo customerInfo = infoService.getById(infoId);
|
|
|
|
|
+ Integer checkState = customerInfo.getCheckState();
|
|
|
if (null == customerInfo) {
|
|
if (null == customerInfo) {
|
|
|
return Result.error("客户信息不存在");
|
|
return Result.error("客户信息不存在");
|
|
|
}
|
|
}
|
|
@@ -225,6 +226,9 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
|
|
|
" 工单创建人:" + customerInfo.getCreateBy() +
|
|
" 工单创建人:" + customerInfo.getCreateBy() +
|
|
|
" 提交了复开号码为" + customerInfo.getSmsNumber() +
|
|
" 提交了复开号码为" + customerInfo.getSmsNumber() +
|
|
|
"的复开申请,请及时进行稽核。");
|
|
"的复开申请,请及时进行稽核。");
|
|
|
|
|
+ }
|
|
|
|
|
+ if (checkState == CheckStateCode.CHECK_STSTE_4){
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
return Result.OK("已成功提交申请");
|
|
return Result.OK("已成功提交申请");
|
|
|
}
|
|
}
|
|
@@ -551,7 +555,6 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
|
|
|
SmcSpecialCheckLogHistory smcSpecialCheckLogHistory = new SmcSpecialCheckLogHistory();
|
|
SmcSpecialCheckLogHistory smcSpecialCheckLogHistory = new SmcSpecialCheckLogHistory();
|
|
|
BeanUtil.copyProperties(smcSpecialCheckLog, smcSpecialCheckLogHistory);
|
|
BeanUtil.copyProperties(smcSpecialCheckLog, smcSpecialCheckLogHistory);
|
|
|
smcSpecialCheckLogHistory.setId(null);
|
|
smcSpecialCheckLogHistory.setId(null);
|
|
|
- smcSpecialCheckLogHistoryService.save(smcSpecialCheckLogHistory);
|
|
|
|
|
if (lotList.size() == 0) {
|
|
if (lotList.size() == 0) {
|
|
|
smcSpecialCheckLogService.save(smcSpecialCheckLog);
|
|
smcSpecialCheckLogService.save(smcSpecialCheckLog);
|
|
|
} else {
|
|
} else {
|
|
@@ -562,6 +565,10 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
|
|
|
SmcSpecialCheckLogStateVo smcSpecialCheckLogStateVo = new SmcSpecialCheckLogStateVo();
|
|
SmcSpecialCheckLogStateVo smcSpecialCheckLogStateVo = new SmcSpecialCheckLogStateVo();
|
|
|
BeanUtil.copyProperties(smcSpecialCheckLog, smcSpecialCheckLogStateVo);
|
|
BeanUtil.copyProperties(smcSpecialCheckLog, smcSpecialCheckLogStateVo);
|
|
|
Boolean stateBoolean = smcSpecialCheckLogService.reflectCheck(smcSpecialCheckLogStateVo);
|
|
Boolean stateBoolean = smcSpecialCheckLogService.reflectCheck(smcSpecialCheckLogStateVo);
|
|
|
|
|
+ // 稽核不通过进行插入
|
|
|
|
|
+ if (!stateBoolean){
|
|
|
|
|
+ smcSpecialCheckLogHistoryService.save(smcSpecialCheckLogHistory);
|
|
|
|
|
+ }
|
|
|
int lotStatus = stateBoolean ? 5 : 4;
|
|
int lotStatus = stateBoolean ? 5 : 4;
|
|
|
//修改客户信息稽核结果
|
|
//修改客户信息稽核结果
|
|
|
info.setCheckState(lotStatus);
|
|
info.setCheckState(lotStatus);
|