Lius
2024-09-13 15a20a91316b726f45ccc9e06bbd632f10eedb43
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/MdcEquipmentMapper.java
@@ -8,6 +8,7 @@
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.mdc.dto.MdcEquDepDto;
import org.jeecg.modules.mdc.dto.MdcEquProDto;
import org.jeecg.modules.mdc.dto.MdcEquipmentDto;
import org.jeecg.modules.mdc.entity.MdcEquipment;
import org.jeecg.modules.mdc.entity.MdcEquipmentMonitor;
import org.jeecg.modules.mdc.vo.MdcEquipmentDepVo;
@@ -49,12 +50,12 @@
    /**
     * 根据部门id查询设备
     */
    List<MdcEquipment> queryByDepartId(@Param("departId") String departId);
    List<MdcEquipment> queryByDepartId(@Param("departId") String departId, @Param("key") String key);
    /**
     * 根据产线id查询设备
     */
    List<MdcEquipment> queryByProductionId(@Param("productionId") String productionId);
    List<MdcEquipment> queryByProductionId(@Param("productionId") String productionId, @Param("key") String key);
    /**
     * 查找设备监控信息
@@ -103,8 +104,19 @@
    /**
     * 导出list
     *
     * @param mdcEquipment
     * @return
     */
    List<MdcEquipment> exportXlsList(@Param("mdcEquipment") MdcEquipmentVo mdcEquipment);
    /**
     * 查询单表数据
     *
     * @param tableName
     * @return
     */
    @InterceptorIgnore(tenantLine = "1")
    MdcEquipmentDto findWorkLineLast(@Param("tableName") String tableName);
}