| | |
| | | |
| | | import com.ruoyi.system.model.TDeptToUser; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @author xiaochen |
| | | * @since 2025-02-06 |
| | | */ |
| | | @Mapper |
| | | public interface TDeptToUserMapper extends BaseMapper<TDeptToUser> { |
| | | |
| | | /** |
| | | * 根据用户ID删除部门用户中间表 |
| | | * |
| | | * @param userId 用户ID |
| | | * @return 删除结果 |
| | | **/ |
| | | int deleteUserDeptByUserId(Long userId); |
| | | |
| | | void insertBatchUserDept(@Param("deptToUserList") List<TDeptToUser> deptToUserList); |
| | | } |