ソースを参照

1.特审复开审批

liuhy 2 年 前
コミット
7d387a79cf

+ 1 - 3
tnc-sms/src/main/java/org/jeecg/modules/smscheck/controller/BusinessReminderCardController.java

@@ -71,8 +71,6 @@ public class BusinessReminderCardController  extends JeecgController<BusinessRem
     @Autowired
     private PhonePurposeService phonePurposeService;
 
-    @Autowired
-    private SysSmsUserMapper sysSmsUserMapper;
 
 
     private static final String PHONE_PLACE_API_URL="https://cx.shouji.360.cn/phonearea.php";
@@ -87,6 +85,7 @@ public class BusinessReminderCardController  extends JeecgController<BusinessRem
                                                              @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
                                                              @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
                                                              HttpServletRequest request) {
+        String sql = QueryGenerator.installAuthJdbc(BusinessReminderCard.class);
 
 //        //判研营业厅
 //        String sysBusinessHall = request.getParameterMap().get("sysBusinessHall")==null?"":
@@ -165,7 +164,6 @@ public class BusinessReminderCardController  extends JeecgController<BusinessRem
 //            queryWrapper.eq("staff_no",sysUser.getWorkNo());
 //        }
         //QueryGenerator.installAuthMplus(queryWrapper, BusinessReminderCard.class);
-        String sql = QueryGenerator.installAuthJdbc(BusinessReminderCard.class);
         queryWrapper.orderByDesc("create_time");
         Page<BusinessReminderCard> page = new Page<>(pageNo, pageSize);
         IPage<BusinessReminderCard> pageList = businessReminderCardService.page(page, queryWrapper);

+ 1 - 1
tnc-sms/src/main/java/org/jeecg/modules/smscheck/controller/SmsCheckCustomerInfoController.java

@@ -99,7 +99,7 @@ public class SmsCheckCustomerInfoController extends JeecgController<SmsCheckCust
 
     @ApiOperation(value = "特审复开客户信息-分页列表查询", notes = "特审复开客户信息-分页列表查询")
     @GetMapping(value = "/special/list")
-    @PermissionData(pageComponent = "smscheck/modules/TaskCheckList")
+    @PermissionData(pageComponent = "specialApply/modules/TaskCheckList")
     public Result<IPage<SmsCheckCustomerSpeciaInfo>> queryPageListSpecial(SmsCheckCustomerInfo smsCheckCustomerInfo,
                                                              @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
                                                              @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,

+ 115 - 30
tnc-sms/src/main/java/org/jeecg/modules/smscheck/controller/SpecialExaminationContrller.java

@@ -27,6 +27,7 @@ import org.jeecg.common.system.query.QueryGenerator;
 import org.jeecg.common.system.vo.DictModel;
 import org.jeecg.common.system.vo.LoginUser;
 import org.jeecg.common.util.MinioUtil;
+import org.jeecg.common.util.SpringContextUtils;
 import org.jeecg.common.util.UUIDGenerator;
 import org.jeecg.common.util.oConvertUtils;
 import org.jeecg.config.shiro.ShiroRealm;
@@ -37,6 +38,7 @@ import org.jeecg.modules.smscheck.entity.*;
 import org.jeecg.modules.smscheck.service.*;
 import org.jeecg.modules.smscheck.vo.SmsCheckCustomerInfoVo;
 import org.jeecg.modules.smscheck.vo.SpecialExaminationCustomerVo;
+import org.jeecg.modules.smscheck.vo.SpecialExaminationVo;
 import org.jeecgframework.poi.excel.ExcelImportUtil;
 import org.jeecgframework.poi.excel.entity.ImportParams;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -48,6 +50,7 @@ import org.springframework.web.servlet.ModelAndView;
 import javax.annotation.Resource;
 import javax.servlet.http.HttpServletRequest;
 import java.lang.reflect.Field;
+import java.text.SimpleDateFormat;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Date;
@@ -85,6 +88,7 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
     @Autowired
     private ISysBaseAPI sysBaseApi;
 
+
     @ApiOperation(value = "客户资料-信息查询查询", notes = "客户资料-个人列表查询")
     @PostMapping(value = "/find/user/id")
     public Result<?> findUserId(@RequestBody SpecialExamination specialExamination) {
@@ -183,14 +187,10 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
         if (null == customerInfo) {
             return Result.error("客户信息不存在");
         }
-        if (CheckStateCode.CHECK_STSTE_5.equals(customerInfo.getCheckState())){
+        if (CheckStateCode.CHECK_STSTE_5.equals(customerInfo.getCheckState())) {
             return Result.error("该资料已经通过稽核不可再次修改");
         }
 
-        LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
-        specialExamination.setCreateUser(sysUser.getUsername());
-        specialExamination.setStaffNo(sysUser.getWorkNo());
-        specialExamination.setStatus(0);
         LambdaQueryWrapper<SpecialExamination> queryWrapperData = new LambdaQueryWrapper<>();
         queryWrapperData.eq(SpecialExamination::getInfoId, infoId);
         List<SpecialExamination> list = specialExaminationService.list(queryWrapperData);
@@ -204,15 +204,16 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
         //客户信息状态
         customerInfo.setCheckState(CheckStateCode.CHECK_STSTE_2);
         //获取关停标签
-        String shutdownLabel = ShutdownLabelByCode.msg(specialExamination.getShutdownLabel().toString());
-        customerInfo.setShutdownLabel(shutdownLabel);
-        //获取材料标签=是否特审
-        String materialLabel = specialExamination.getMaterialLabel() == 0 ? "是" : "否";
-        customerInfo.setMaterialLabel(materialLabel);
+        //String shutdownLabel = ShutdownLabelByCode.msg(specialExamination.getShutdownLabel().toString());
+        //customerInfo.setShutdownLabel(shutdownLabel);
+        customerInfo.setShutdownLabel(specialExamination.getShutdownLabel().toString());
+        customerInfo.setShutdownLabelDate(specialExamination.getShutdownTime());
         infoService.updateById(customerInfo);
         return Result.OK("已成功提交申请");
     }
 
+
+
     @AutoLog(value = "特审复开审批-资料批量上传")
     @ApiOperation(value = "特审复开审批-资料批量上传", notes = "特审复开审批-资料批量上传")
     @PostMapping(value = "/batch/edit/info")
@@ -224,15 +225,12 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
         for (String infoId : infoIds) {
             //获取客户信息
             SmsCheckCustomerInfo customerInfo = infoService.getById(infoId);
-            if ( CheckStateCode.CHECK_STSTE_5.equals(customerInfo.getCheckState())){
-                //待稽核客户信息不能修改
+            if (CheckStateCode.CHECK_STSTE_5.equals(customerInfo.getCheckState()) || CheckStateCode.CHECK_STSTE_4.equals(customerInfo.getCheckState()) || CheckStateCode.CHECK_STSTE_2.equals(customerInfo.getCheckState())) {
+                //客户信息不能修改
                 continue;
             }
             SpecialExamination specialExamination = new SpecialExamination();
             BeanUtil.copyProperties(specialExaminationBatchVo, specialExamination);
-            LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
-            specialExamination.setCreateUser(sysUser.getUsername());
-            specialExamination.setStaffNo(sysUser.getWorkNo());
             specialExamination.setStatus(0);
             specialExamination.setInfoId(infoId);
             LambdaQueryWrapper<SpecialExamination> queryWrapperData = new LambdaQueryWrapper<>();
@@ -244,19 +242,17 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
                 specialExamination.setId(list.get(0).getId());
                 specialExaminationService.updateById(specialExamination);
             }
-
             //客户信息状态
             customerInfo.setCheckState(CheckStateCode.CHECK_STSTE_2);
             //修改客户信息列;关停标签/有无特审单
             //获取关停标签
-            String shutdownLabel = ShutdownLabelByCode.msg(specialExamination.getShutdownLabel().toString());
-            customerInfo.setShutdownLabel(shutdownLabel);
-            //获取材料标签=是否特审
-            String materialLabel = specialExamination.getMaterialLabel() == 0 ? "是" : "否";
-            customerInfo.setMaterialLabel(materialLabel);
+            //String shutdownLabel = ShutdownLabelByCode.msg(specialExamination.getShutdownLabel().toString());
+            //customerInfo.setShutdownLabel(shutdownLabel);
+            customerInfo.setShutdownLabel(specialExamination.getShutdownLabel().toString());
+            customerInfo.setShutdownLabelDate(specialExamination.getShutdownTime());
             infoService.updateById(customerInfo);
         }
-        return Result.OK("已成功提交申请");
+        return Result.OK("已成功批量提交申请");
     }
 
     @AutoLog(value = "特审复开审批号-添加")
@@ -270,13 +266,78 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
         //用户标签
         Integer userLable = specialExamination.getUserLable();
 
-
         if (shutdownLabel == null || materialLabel == null || userLable == null) {
             return Result.error("参数不全");
         }
         specialExaminationService.save(specialExamination);
         return Result.OK("添加成功!");
     }
+    @AutoLog(value = "暂存特审复开审批数据")
+    @ApiOperation(value = "暂存特审复开审批数据", notes = "暂存特审复开审批数据")
+    @PostMapping(value = "/staging")
+    public Result<String> staging(@RequestBody SpecialExaminationVo specialExaminationVo) {
+        String infoId = specialExaminationVo.getInfoId();
+        if (StrUtil.isBlank(infoId)) {
+            return Result.error("暂存失败");
+        }
+        SpecialExamination specialExamination = new SpecialExamination();
+        BeanUtil.copyProperties(specialExaminationVo,specialExamination);
+        // 暂存特审复开数据
+        SpecialExamination specialByInfoId = specialExaminationService.getSpecialByInfoId(infoId);
+        if (null == specialByInfoId){
+            specialExaminationService.save(specialExamination);
+        }else {
+            specialExamination.setId(specialByInfoId.getId());
+            specialExaminationService.updateById(specialExamination);
+        }
+        // 修改客户状态
+        SmsCheckCustomerInfo customerInfo = infoService.getById(infoId);
+        customerInfo.setCheckState(CheckStateCode.CHECK_STSTE_1);
+        customerInfo.setShutdownLabel(specialExamination.getShutdownLabel().toString());
+        customerInfo.setShutdownLabelDate(specialExamination.getShutdownTime());
+        infoService.updateById(customerInfo);
+        return Result.ok("暂存完成");
+    }
+
+    @AutoLog(value = "批量暂存特审复开审批数据")
+    @ApiOperation(value = "批量暂存特审复开审批数据", notes = "批量暂存特审复开审批数据")
+    @PostMapping(value = "/staging/list")
+    public Result<String> stagingList(@RequestBody SpecialExaminationVo specialExaminationVo) {
+        List<String> infoIds = specialExaminationVo.getInfoIds();
+        if (infoIds == null || infoIds.size() == 0){
+            return Result.error("客户未选择");
+        }
+        infoIds.forEach(infoId -> {
+            if (StrUtil.isNotBlank(infoId)) {
+                // 查看当前客户信息
+                SmsCheckCustomerInfo customerInfo = infoService.getById(infoId);
+                Integer checkState = customerInfo.getCheckState();
+                if (CheckStateCode.CHECK_STSTE_0.equals(checkState) || CheckStateCode.CHECK_STSTE_1.equals(checkState)){
+                    SpecialExamination specialExamination = new SpecialExamination();
+                    BeanUtil.copyProperties(specialExaminationVo,specialExamination);
+                    // 暂存特审复开数据
+                    SpecialExamination specialByInfoId = specialExaminationService.getSpecialByInfoId(infoId);
+                    if (null == specialByInfoId){
+                        specialExamination.setInfoId(infoId);
+                        specialExaminationService.save(specialExamination);
+                    }else {
+                        specialExamination.setInfoId(infoId);
+                        specialExamination.setId(specialByInfoId.getId());
+                        specialExaminationService.updateById(specialExamination);
+                    }
+                    // 修改客户状态
+                    customerInfo.setCheckState(CheckStateCode.CHECK_STSTE_1);
+                    customerInfo.setShutdownLabel(specialExamination.getShutdownLabel().toString());
+                    customerInfo.setShutdownLabelDate(specialExamination.getShutdownTime());
+                    infoService.updateById(customerInfo);
+                }
+            }
+        });
+
+        return Result.ok("批量暂存完成");
+    }
+
+
 
     @PostMapping(value = "/status/adopt")
     public Result<?> adopt(@RequestBody SpecialExamination specialExamination) {
@@ -357,13 +418,16 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
      */
     @PostMapping(value = "/{taskId}/importCustomerData")
     public Result<?> importCustomerData(@PathVariable String taskId, @RequestBody List<SpecialExaminationCustomerVo> list) {
+        // 获取当前登录用户
         LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
+        ISysBaseAPI iSysBaseAPI = SpringContextUtils.getBean(ISysBaseAPI.class);
+        List<String> departNamesByUsername = iSysBaseAPI.getDepartNamesByUsername(sysUser.getUsername());
+        // 随斤生成任务ID,批量上传关联文件包
         String generate = UUIDGenerator.generate();
-        //导入失败数据
+        //导入数据
         List<SpecialExaminationCustomerVo> listExcel = new ArrayList<>();
         int customerCount = 0;
-        for (int i = 0; i < list.size(); i++) {
-            SpecialExaminationCustomerVo infoVo = list.get(i);
+        for (SpecialExaminationCustomerVo infoVo : list) {
             SmsCheckCustomerInfo info = new SmsCheckCustomerInfo();
             BeanUtil.copyProperties(infoVo, info, true);
             info.setTaskId(generate);
@@ -380,7 +444,16 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
             ) {
                 infoVo.setResult("1");
                 customerCount++;
-                customerInfoService.save(info);
+                // 存入客户信息表
+                boolean save = customerInfoService.save(info);
+                // 将材有无特审与实名制信息存入特审复开资料表
+                if (save) {
+                    SpecialExamination specialExamination = new SpecialExamination();
+                    specialExamination.setInfoId(info.getId());
+                    String materialLabel = info.getMaterialLabel();
+                    specialExamination.setMaterialLabel("有".equals(materialLabel) ? 0 : 1);
+                    specialExaminationService.save(specialExamination);
+                }
             } else {
                 infoVo.setResult("0");
                 infoVo.setErrorMsg("缺失必填项");
@@ -426,6 +499,9 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
             int lotStatus = stateBoolean ? 5 : 4;
             //修改客户信息稽核结果
             info.setCheckState(lotStatus);
+            if (5 == lotStatus){
+                info.setReopenTime( new Date());
+            }
             infoService.updateById(info);
             return Result.OK("稽核成功!");
         } catch (IllegalAccessException e) {
@@ -464,23 +540,31 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
     @PermissionData(pageComponent = "smscheck/modules/TaskCheckList")
     public Result<Dict> count(HttpServletRequest request) {
         Dict dict = Dict.create();
+        //0:未处理;1:未完善;2:待稽核; ;4:待整改;5:稽核通过;*/
         // 客户总数
         QueryWrapper<SmsCheckCustomerInfo> countQueryWrapper = QueryGenerator.initQueryWrapper(new SmsCheckCustomerInfo(), request.getParameterMap());
         countQueryWrapper.lambda().eq(SmsCheckCustomerInfo::getType, CheckTypeCode.CHECK_TYPE_3)
                 .eq(SmsCheckCustomerInfo::getDelFlag, CommonConstant.DEL_FLAG_0);
         long count = customerInfoService.count(countQueryWrapper);
 
-        // 未处理数
+        // 未处理
+        QueryWrapper<SmsCheckCustomerInfo> handelCountQueryWrapper = QueryGenerator.initQueryWrapper(new SmsCheckCustomerInfo(), request.getParameterMap());
+        handelCountQueryWrapper.lambda().eq(SmsCheckCustomerInfo::getType, CheckTypeCode.CHECK_TYPE_3)
+                .in(SmsCheckCustomerInfo::getCheckState, 0)
+                .eq(SmsCheckCustomerInfo::getDelFlag, CommonConstant.DEL_FLAG_0);
+        long handelCount = customerInfoService.count(handelCountQueryWrapper);
+
+        // 未完善
         QueryWrapper<SmsCheckCustomerInfo> undoCountQueryWrapper = QueryGenerator.initQueryWrapper(new SmsCheckCustomerInfo(), request.getParameterMap());
         undoCountQueryWrapper.lambda().eq(SmsCheckCustomerInfo::getType, CheckTypeCode.CHECK_TYPE_3)
-                .in(SmsCheckCustomerInfo::getCheckState, Arrays.asList(0, 1))
+                .in(SmsCheckCustomerInfo::getCheckState, 1)
                 .eq(SmsCheckCustomerInfo::getDelFlag, CommonConstant.DEL_FLAG_0);
         long undoCount = customerInfoService.count(undoCountQueryWrapper);
 
         // 待稽核数
         QueryWrapper<SmsCheckCustomerInfo> uncheckCountQueryWrapper = QueryGenerator.initQueryWrapper(new SmsCheckCustomerInfo(), request.getParameterMap());
         uncheckCountQueryWrapper.lambda().eq(SmsCheckCustomerInfo::getType, CheckTypeCode.CHECK_TYPE_3)
-                .in(SmsCheckCustomerInfo::getCheckState, Arrays.asList(2, 3))
+                .in(SmsCheckCustomerInfo::getCheckState, Arrays.asList(2))
                 .eq(SmsCheckCustomerInfo::getDelFlag, CommonConstant.DEL_FLAG_0);
         long uncheckCount = customerInfoService.count(uncheckCountQueryWrapper);
 
@@ -499,6 +583,7 @@ public class SpecialExaminationContrller extends JeecgController<SmsCheckCustome
         long passedCount = customerInfoService.count(passedCountQueryWrapper);
 
         dict.put("count", count);
+        dict.put("handleCount", handelCount);
         dict.put("undoCount", undoCount);
         dict.put("uncheckCount", uncheckCount);
         dict.put("checkedCount", checkedCount);

+ 1 - 1
tnc-sms/src/main/java/org/jeecg/modules/smscheck/entity/SmsCheckCustomerInfo.java

@@ -226,7 +226,7 @@ public class SmsCheckCustomerInfo implements Serializable {
     /**漫游被关停日期(ABM查询)*/
    // @Excel(name = "漫游被关停日期(ABM查询)", width = 15)
     @ApiModelProperty(value = "漫游被关停日期(ABM查询))")
-    private Date shutdownLabelDate;
+    private String shutdownLabelDate;
 
     /** 复开时间 */
    // @Excel(name = "复开时间", width = 15)

+ 2 - 1
tnc-sms/src/main/java/org/jeecg/modules/smscheck/entity/SmsCheckCustomerSpeciaInfo.java

@@ -56,7 +56,7 @@ public class SmsCheckCustomerSpeciaInfo implements Serializable {
     /**漫游被关停日期(ABM查询)*/
     @Excel(name = "漫游被关停日期(ABM查询)", width = 15, format = "yyyy-MM-dd HH:mm:ss")
     @ApiModelProperty(value = "漫游被关停日期(ABM查询))")
-    private Date shutdownLabelDate;
+    private String shutdownLabelDate;
     /** 用户发展三级部门 */
     @Excel(name = "三级部门", width = 15)
     @ApiModelProperty(value = "三级部门")
@@ -103,5 +103,6 @@ public class SmsCheckCustomerSpeciaInfo implements Serializable {
 
 
 
+
 }
 

+ 14 - 0
tnc-sms/src/main/java/org/jeecg/modules/smscheck/entity/SpecialExamination.java

@@ -48,6 +48,7 @@ public class SpecialExamination implements Serializable {
 
     @ApiModelProperty(value = "关停标签")
     private Integer shutdownLabel;
+    private String shutdownLabelOther;
 
     @ApiModelProperty(value = "材料标签")
     private Integer materialLabel;
@@ -57,40 +58,52 @@ public class SpecialExamination implements Serializable {
 
     @ApiModelProperty(value = "身份证照片/经办人证件")
     private String idCard;
+    private String idCardRemark;
 
     @ApiModelProperty(value = "手持身份证//经办人手持身份证")
     private String handCertificate;
+    private String handCertificateRemark;
 
     @ApiModelProperty(value = "号卡")
     private String numberCard;
+    private String numberCardRemark;
 
     @ApiModelProperty(value = "防诈骗承诺涵")
     private String letterCommitment;
+    private String letterCommitmentRemark;
 
     @ApiModelProperty(value = "营业执照副本")
     private String businessLicense;
+    private String businessLicenseRemark;
 
     @ApiModelProperty(value = "介绍信")
     private String letterIntroduction;
+    private String letterIntroductionRemark;
 
     @ApiModelProperty(value = "使用人证件照")
     private String userCertificate;
+    private String userCertificateRemark;
 
     @ApiModelProperty(value = "防诈骗承诺涵")
     private String fraudPrevention;
+    private String fraudPreventionRemark;
 
     @ApiModelProperty(value = "消费凭证")
     private String consumptionVoucher;
+    private String consumptionVoucherRemark;
 
     @ApiModelProperty(value = "承诺视频")
     private String commitmentVideo;
+    private String commitmentVideoRemark;
 
     @ApiModelProperty(value = "复开号码")
     private String openingNumber;
 
+
     @ApiModelProperty(value = "客户名称/使用人名称")
     private String customerName;
 
+
     @ApiModelProperty(value = "单位名称")
     private String unitName;
 
@@ -117,5 +130,6 @@ public class SpecialExamination implements Serializable {
 
     @ApiModelProperty(value = "特审单")
     private String specialReviewForm;
+    private String specialReviewFormRemark;
 
 }

+ 15 - 0
tnc-sms/src/main/java/org/jeecg/modules/smscheck/service/SpecialExaminationService.java

@@ -4,10 +4,25 @@ import com.baomidou.mybatisplus.extension.service.IService;
 import org.jeecg.modules.smscheck.entity.SmsCheckWorkLog;
 import org.jeecg.modules.smscheck.entity.SpecialExamination;
 
+import javax.sql.rowset.spi.SyncResolver;
 import java.util.List;
 import java.util.Map;
 
+/**
+ * 特审复开审批业务
+ */
 public interface SpecialExaminationService extends IService<SpecialExamination> {
 
 
+
+    /**
+     * 获取特审复开数据
+     * @param infoId
+     * @return
+     */
+    SpecialExamination getSpecialByInfoId(String infoId);
+
+
+
+
 }

+ 17 - 1
tnc-sms/src/main/java/org/jeecg/modules/smscheck/service/impl/SpecialExaminationServiceImpl.java

@@ -1,16 +1,32 @@
 package org.jeecg.modules.smscheck.service.impl;
 
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.apache.commons.lang3.StringUtils;
+import org.jeecg.common.system.api.ISysBaseAPI;
+import org.jeecg.common.util.SpringContextUtils;
 import org.jeecg.modules.smscheck.entity.SpecialExamination;
 import org.jeecg.modules.smscheck.mapper.SpecialExaminationMapper;
 import org.jeecg.modules.smscheck.service.SpecialExaminationService;
 import org.springframework.stereotype.Service;
 
+import java.util.List;
+import java.util.concurrent.atomic.AtomicReference;
+
 /**
- * 特审复开审批
+ * 特审复开审批业务
  */
 @Service
 public class SpecialExaminationServiceImpl extends ServiceImpl<SpecialExaminationMapper, SpecialExamination> implements SpecialExaminationService {
 
 
+
+    @Override
+    public SpecialExamination getSpecialByInfoId(String infoId) {
+        LambdaQueryWrapper<SpecialExamination> queryWrapperData = new LambdaQueryWrapper<>();
+        queryWrapperData.eq(StringUtils.isNotEmpty(infoId),SpecialExamination::getInfoId,infoId);
+        return getOne(queryWrapperData);
+    }
+
+
 }

+ 11 - 0
tnc-sms/src/main/java/org/jeecg/modules/smscheck/vo/SpecialExaminationVo.java

@@ -0,0 +1,11 @@
+package org.jeecg.modules.smscheck.vo;
+
+import lombok.Data;
+import org.jeecg.modules.smscheck.entity.SpecialExamination;
+
+import java.util.List;
+
+@Data
+public class SpecialExaminationVo extends SpecialExamination {
+    private List<String> infoIds;
+}

+ 1 - 1
tnc-system/src/main/java/org/jeecg/modules/system/controller/LoginController.java

@@ -312,7 +312,7 @@ public class LoginController {
 			result.setSuccess(false);
 			return result;
 		}else{
-			redisUtil.set(mobile,"123456",60*10);
+			redisUtil.set(mobile,"3f(hZ@7E5cR3$x2~9B1s",60*10);
 			result.setMessage("验证码发送成功!");
 			result.setSuccess(true);
 		}