@@ -494,6 +494,7 @@ public class StaffManagerImpl extends AbstractUserwManager implements StaffManag | |||
//设置该员工所分配的所有,授权系统 | |||
//1、获取openId | |||
AccountInfo accountInfo = accountInfoRepo.findByAccount(staff.getMobile()); | |||
staffVo.setIdNum(accountInfo.getIdNum()); | |||
//2、找到员工所分配的所有系统角色 | |||
List<UserRoleVo> userRoleVoList = null; | |||
if (accountInfo != null && accountInfo.getOpenId() != null && !accountInfo.getOpenId().trim().isEmpty()) { |
@@ -14,6 +14,7 @@ import java.util.List; | |||
public class StaffVo extends BaseModel { | |||
private String id; | |||
private String mobile;// 用户账号(手机号码) | |||
private String idNum;//员工证件号 | |||
private String staffId;// 员工工号 | |||
private String staffName;// 员工姓名 | |||
private Integer staffType;// 员工类型(默认为1) |