@@ -64,16 +64,6 @@ public class SmsLoginHandler extends AbstractLoginHandler {
UserDTO userDTO = new UserDTO();
userDTO.setPlatId(identify);
- List<Integer> roleList = new ArrayList<>();
- roleList.add(5);
- roleList.add(6);
- roleList.add(10);
- // 患者教育-HCP角色
- roleList.add(13);
- roleList.add(31);
-
- userDTO.setRole(roleList);
List<UserVO> user = sysUserService.getUserVoByPlatId(userDTO);
if (user == null) {
@@ -1363,6 +1363,16 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
@Override
public List<UserVO> getUserVoByPlatId(UserDTO userDTO) {
+ List<Integer> roleList = new ArrayList<>();
+ roleList.add(5);
+ roleList.add(6);
+ roleList.add(10);
+ // 患者教育-HCP角色
+ roleList.add(13);
+ // 招商经理
+ roleList.add(31);
+
+ userDTO.setRole(roleList);
return baseMapper.getUserVoByPlatId(userDTO);
}