lyh
12 小时以前 7126eab629d31beb5164b576a44b865a6a00f07c
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 com.lxzn.nc.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lxzn.framework.domain.nc.ProductPermission;
import com.lxzn.framework.domain.ucenter.User;
import com.lxzn.framework.domain.ucenter.ext.UserDepartExt;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface ProductPermissionMapper extends BaseMapper<ProductPermission> {
 
    /**
     * 获取已分配的用户列表
     * @param productId
     * @return
     */
    List<UserDepartExt> getUserPermsByProductId(@Param("productId") String productId);
 
    /**
     * 获取未分配的用户列表
     * @param productId
     * @return
     */
    List<User> getUserNonPermsByProductId(@Param("productId") String productId);
}