lyh
3 天以前 b508ec38ddf9ed93d4435e8f1e3c4effef798aaa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.lxzn.nc.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lxzn.framework.domain.nc.ProductDepartment;
import com.lxzn.framework.domain.ucenter.Department;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface ProductDepartmentMapper extends BaseMapper<ProductDepartment> {
    /**
     * 获取已分配的部门列表
     * @param productId
     * @return
     */
    List<Department> getDepartPermsByProductId(@Param("productId") String productId);
 
    /**
     * 获取未分配的部门列表
     * @param productId
     * @return
     */
    List<Department> getDepartNonPermsByProductId(@Param("productId") String productId);
}