package com.smartor.mapper;
|
|
import com.ruoyi.common.core.domain.entity.SysDept;
|
import com.ruoyi.common.core.domain.entity.SysUserDept;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
|
/**
|
* 【请填写功能名称】Mapper接口
|
*
|
* @author lihu
|
* @date 2024-08-29
|
*/
|
@Mapper
|
public interface SysUserDeptMapper {
|
/**
|
* 查询【请填写功能名称】
|
*
|
* @param id 【请填写功能名称】主键
|
* @return 【请填写功能名称】
|
*/
|
public SysUserDept selectSysUserDeptById(Long id);
|
|
/**
|
* 查询【请填写功能名称】列表
|
*
|
* @param sysUserDept 【请填写功能名称】
|
* @return 【请填写功能名称】集合
|
*/
|
public List<SysUserDept> selectSysUserDeptList(SysUserDept sysUserDept);
|
|
/**
|
* 新增【请填写功能名称】
|
*
|
* @param sysUserDept 【请填写功能名称】
|
* @return 结果
|
*/
|
public int insertSysUserDept(SysUserDept sysUserDept);
|
|
/**
|
* 修改【请填写功能名称】
|
*
|
* @param sysUserDept 【请填写功能名称】
|
* @return 结果
|
*/
|
public int updateSysUserDept(SysUserDept sysUserDept);
|
|
/**
|
* 删除【请填写功能名称】
|
*
|
* @param id 【请填写功能名称】主键
|
* @return 结果
|
*/
|
public int deleteSysUserDeptById(Long id);
|
|
/**
|
* 根据用户ID查询部门信息
|
*
|
* @param id
|
* @return
|
*/
|
public List<SysDept> selectDeptListByUserId(Long id);
|
|
/**
|
* 批量删除【请填写功能名称】
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteSysUserDeptByIds(Long[] ids);
|
|
public int deleteSysUserDeptByCode(SysUserDept sysUserDept);
|
}
|