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);
|
}
|