|
@@ -92,8 +92,8 @@ public class RoleController {
|
|
|
}
|
|
|
List<UserRoleRelation> userRoleRelations = userRoleRelationService.queryByUserId(user.getId());
|
|
|
if(CollUtil.isNotEmpty(userRoleRelations)){
|
|
|
- //10 为 门诊医生角色id
|
|
|
- if (userRoleRelations.stream().anyMatch(o -> o.getRoleId() != null && o.getRoleId() == 10)) {
|
|
|
+ //3 为 门诊医生角色id
|
|
|
+ if (userRoleRelations.stream().anyMatch(o -> o.getRoleId() != null && o.getRoleId() == 3)) {
|
|
|
return R.ok().put("data",1);
|
|
|
}
|
|
|
}
|