package org.jeecg.modules.system.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Select;
|
import org.jeecg.modules.system.entity.MdcProduction;
|
import org.springframework.data.repository.query.Param;
|
|
import java.util.List;
|
|
|
/**
|
* @Description: 产线表
|
* @Author: liuS
|
* @Date: 2023-03-23
|
* @Version: V1.0
|
*/
|
public interface MdcProductionMapper extends BaseMapper<MdcProduction> {
|
|
/**
|
* 根据id下级产线
|
*/
|
@Select("SELECT * FROM mdc_production where del_flag ='0' AND parent_id = #{parentId,jdbcType=VARCHAR}")
|
List<MdcProduction> queryProdByPid(@Param("parentId") String parentId);
|
}
|