绑定角色逻辑
This commit is contained in:
@@ -102,4 +102,7 @@ public interface TsRoleDao extends BaseMapper<TsRole> {
|
||||
|
||||
@Select("select *,DATE_ADD(ts_role.operate_time,INTERVAL 8 HOUR) as operateTime from ts_role where ts_role.ID = #{roleId}")
|
||||
TsRole getAllDatas(@Param("roleId") String roleId);
|
||||
|
||||
@Select("select ROLE_ID from ts_user_role where USER_ID = #{userId}")
|
||||
List<String> getRoleByUserId(@Param("userId") String userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user