package org.jeecg.modules.dnc.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.jeecg.modules.dnc.entity.ProductDepartment; import org.jeecg.modules.dnc.ucenter.Department; import org.apache.ibatis.annotations.Param; import org.jeecg.modules.system.entity.MdcProduction; import java.util.List; public interface ProductDepartmentMapper extends BaseMapper { /** * 获取已分配的部门列表 * @param productId * @return */ List getDepartPermsByProductId(@Param("productId") String productId); /** * 获取未分配的部门列表 * @param productId * @return */ List getDepartNonPermsByProductId(@Param("productId") String productId); }