lyh
2025-02-17 1dcf43467f34eb70002be3c2f3cd7605ceb5dcdd
lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/IMdcUserProductionService.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.MdcUserProduction;
import org.jeecg.modules.system.entity.SysUser;
import org.jeecg.modules.system.model.ProductionIdModel;
import java.util.List;
@@ -22,4 +23,42 @@
     * 根据指定用户id查询产线id集合
     */
    List<String> queryProductionIdsByUserId(String userId);
    /**
     * 删除一组对象
     * @param mdcUserProductions
     * @return
     */
    boolean removeByCollection(List<MdcUserProduction> mdcUserProductions);
    /**
     * 获取已分配的用户列表
     * @param proId
     * @return
     */
    List<SysUser> getUserPermsByGroupId(String proId);
    /**
     * 获取未分配的用户列表
     * @param proId
     * @return
     */
    List<SysUser> getUserNonPermsByGroupId(String proId);
    /**
     * 获取未分配的用户
     * @param proId
     * @return
     */
    List<SysUser> getUserNonPermsByDeviceId(String proId);
    /**
     * 获取已分配的用户
     * @param proId
     * @return
     */
    List<SysUser> getUserPermsByDeviceId(String proId);
    MdcUserProduction getByUserIdAndGroupId(String userId, String proId);
}