zhangherong
2025-06-25 23855599412c4d61b38d78f0f3abd3430a48b5b1
lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/ComponentDepartmentMapper.java
对比新文件
@@ -0,0 +1,25 @@
package org.jeecg.modules.dnc.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.dnc.entity.ComponentDepartment;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.MdcProduction;
import java.util.List;
public interface ComponentDepartmentMapper extends BaseMapper<ComponentDepartment> {
    /**
     * 鑾峰彇宸插垎閰嶇殑閮ㄩ棬
     * @param componentId
     * @return
     */
    List<MdcProduction> getDepartPermsByComponentId(@Param("componentId") String componentId);
    /**
     * 鑾峰彇鏈垎閰嶇殑閮ㄩ棬
     * @param componentId
     * @return
     */
    List<MdcProduction> getDepartNonPermsByComponentId(@Param("componentId") String componentId);
}