liusheng
2025-04-02 acd62c1684cbde71954252ffdf89d0918491e6fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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);
}