登录后前端获取登陆人信息加入手机号码字段

This commit is contained in:
shih
2026-05-09 17:54:39 +08:00
parent 82cb7ef34d
commit 3cd1dfdbca
4 changed files with 45 additions and 39 deletions

View File

@@ -156,7 +156,7 @@ public class ByglBygdBjPlugin implements AroundAdvicePlugin {
byManagementGdMapper.updateById(gd);
String planId = gd.getPlanId();
if(planId !=null){
//查询当前计划的工单
LambdaQueryWrapper<ByManagementGd> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(ByManagementGd::getPlanId, planId);
@@ -203,6 +203,8 @@ public class ByglBygdBjPlugin implements AroundAdvicePlugin {
plan.setPlanState(ByglConstant.JH_STATE_YWC);
byManagementPlanMapper.updateById(plan);
}
}
//都验收成功 生成记录
ByManagementJl jl = BeanUtils.toBean(ys, ByManagementJl.class);
jl.setId(null);

View File

@@ -68,7 +68,7 @@ public class AddFaultReportingFunctionRecord implements AroundAdvicePlugin {
devGzbxDO.setFaultNumber(faultNumber);
devGzbxDO.setLeaderUserId(leaderUserId);
devGzbxDO.setReporter(userId);
devGzbxDO.setCreateUserName(adapterMapper.getNickname(userId));
// devGzbxDO.setCreateUserName(adapterMapper.getNickname(userId));
devGzbxMapper.updateById(devGzbxDO);
}

View File

@@ -245,6 +245,7 @@ public class AuthController {
userVo.setSupAdmin(supAdminFlag);//是否是超级管理员
userVo.setTenantAdmin(tenantAdminFlag);//是否是租户管理员
userVo.setSupAdminToken(isSupAdmin());
userVo.setMobile(user.getMobile());
return success(vo);
}

View File

@@ -54,6 +54,9 @@ public class AuthPermissionInfoRespVO {
@Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
private Set<Long> deptId;
@Schema(description = "手机号码", example = "15601691300")
private String mobile;
private Long loginDeptId;
private Long loginRoleId;