lius
2023-06-08 534aec7a687ceca8120ba798ad20d80d7058ffe6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
}