package org.jeecg.modules.base.mapper;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Select;
|
import org.jeecg.modules.base.entity.Factory;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
/**
|
* @Description: 工厂/车间/产线
|
* @Author: jeecg-boot
|
* @Date: 2025-06-24
|
* @Version: V1.0
|
*/
|
public interface FactoryMapper extends BaseMapper<Factory> {
|
|
/**
|
* 根据id下级产线
|
*/
|
@Select("SELECT * FROM base_factory where del_flag ='0' AND parent_id = #{parentId,jdbcType=VARCHAR}")
|
List<Factory> queryFacByPid(@Param("parentId") String parentId);
|
}
|