1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.jeecg.modules.eam.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.eam.entity.EamEquipment;
 
import java.util.List;
 
/**
 * @Description: 设备台账
 * @Author: jeecg-boot
 * @Date:   2025-03-19
 * @Version: V1.0
 */
public interface EamEquipmentMapper extends BaseMapper<EamEquipment> {
    /**
     * 查询产线下的设备
     * @param productionId 产线id
     * @return
     */
    @Select("select * from eam_equipment where del_flag = 0 and org_id = #{productionId}")
    List<EamEquipment> queryByProductionId(String productionId);
}