lyh
2025-01-13 137d008bd9b7d932160436a3a560b24512f6d1db
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
package org.jeecg.modules.dnc.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.dnc.entity.PartsPermission;
import org.jeecg.modules.system.entity.SysUser;
import org.jeecg.modules.dnc.ucenter.UserDepartExt;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface PartsPermissionMapper extends BaseMapper<PartsPermission> {
 
    /**
     * 获取已分配的用户
     * @param partsId
     * @return
     */
    List<UserDepartExt> getUserPermsByProductId(@Param("partsId") String partsId);
 
    /**
     * 获取未分配的用户
     * @param partsId
     * @return
     */
    List<SysUser> getUserNonPermsByProductId(@Param("partsId") String partsId);
}