cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package org.jeecg.modules.base.mapper;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.base.entity.WorkCenterEquipment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
 
import java.util.List;
import java.util.Map;
 
/**
 * @Description: mom_base_work_center_equipment
 * @Author: jeecg-boot
 * @Date:   2022-12-06
 * @Version: V1.0
 */
@Repository
public interface WorkCenterEquipmentMapper extends BaseMapper<WorkCenterEquipment> {
    /**
     * 根据工作中心Id查列表
     *
     * @param page
     * @param workCenterId
     * @return
     */
    List<Map<String,Object>> listByWorkCenterId(Page<Map<String,Object>> page, @Param("workCenterId")String workCenterId);
    /**
     * 根据设备组Id查添加设备列表
     *
     * @param page
     * @param equipmentCategoryId
     * @param equipmentIdList
     * @return
     */
    List<Map<String,Object>> getAddEquipmentListByEquipmentCategoryId(Page<Map<String,Object>> page,
                                                                      @Param("equipmentCategoryId")String equipmentCategoryId,
                                                                      @Param("equipmentIdList") List<String> equipmentIdList);
}