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