| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package com.ydtech.modules.admin.service;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.ydtech.modules.admin.model.SysUser;
- import com.ydtech.modules.admin.model.SysUserRoleKzt;
- import com.ydtech.modules.admin.model.dto.KZTUserQueryDto;
- import com.ydtech.modules.order.entity.BasePageResult;
- import java.util.List;
- /**
- * @author Administrator
- * @description 针对表【sys_user_role_kzt(控制台用户关联角色)】的数据库操作Service
- * @createDate 2024-08-14 16:13:44
- */
- public interface SysUserRoleKztService extends IService<SysUserRoleKzt> {
- /**
- * @version
- * @author: hxl
- * @Date: 2024/8/14 16:40
- * @Description: 通过用户id和系统类型删除数据
- */
- void deleteByUserId(String userId, String sysType);
- /**
- * @version
- * @author: hxl
- * @Date: 2024/8/14 16:47
- * @Description:
- */
- void saveUserRoleKzt(String userId, String roleId, String sysType);
- /**
- * @version
- * @author: hxl
- * @Date: 2024/8/14 17:06
- * @Description: 通过机构id查询已授权的用户表
- */
- BasePageResult<SysUser> queryPageByParam(KZTUserQueryDto kZTUserQueryDto);
- /**
- * @version
- * @author: whp
- * @Date: 2024/10/10
- * @Description: 控制台批量配置角色
- */
- void saveBatchUserRoleKzt(List<String> userIds, String roleId, String number);
- }
|