Selaa lähdekoodia

fix: 自助服务
1.教职工身份证自助时查询不到信息问题修复

luoyb 1 vuosi sitten
vanhempi
commit
c2740e7d9c

+ 1 - 1
ruoyi-modules/ruoyi-backstage/src/main/java/org/dromara/backstage/controller/self/TeacherController.java

@@ -71,7 +71,7 @@ public class TeacherController {
             return ReturnResult.failure(ResultCodeEnum.PARAM_IS_BLANK, "身份证号不能为空");
         }
         java.lang.String deIdentity = Base64.decodeStr(identity);
-        PtUserAccountBo bo = new PtUserAccountBo().setIdNumber(deIdentity).setCategory("1,3,4");
+        PtUserAccountBo bo = new PtUserAccountBo().setIdNumber(identity).setCategory("1,3,4");
         R<AccountInfoVo> result = userAccountBusiness.getAccountInfo(bo);
         if (R.isError(result)) {
             return ReturnResult.failure(ResultCodeEnum.DATA_NOT_FOUND, MessageFormat.format("没有身份号[{0}]对应的人员信息", deIdentity));