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 { /** * 获取已分配的用户 * @param partsId * @return */ List getUserPermsByProductId(@Param("partsId") String partsId); /** * 获取未分配的用户 * @param partsId * @return */ List getUserNonPermsByProductId(@Param("partsId") String partsId); }