package org.jeecg.modules.dnc.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.jeecg.modules.dnc.entity.PartsDepartment;
|
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 PartsDepartmentMapper extends BaseMapper<PartsDepartment> {
|
|
/**
|
* 获取已分配的部门
|
* @param partsId
|
* @return
|
*/
|
List<MdcProduction> getDepartPermsByPartsId(@Param("partsId") String partsId);
|
|
/**
|
* 获取已分配的部门
|
* @param partsId
|
* @return
|
*/
|
List<MdcProduction> getDepartNonPermsByPartsId(@Param("partsId") String partsId);
|
}
|