Lius
2024-09-13 15a20a91316b726f45ccc9e06bbd632f10eedb43
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/IMdcEquipmentService.java
@@ -9,6 +9,8 @@
import org.jeecg.modules.mdc.entity.MdcEquipment;
import org.jeecg.modules.mdc.entity.MdcEquipmentMonitor;
import org.jeecg.modules.mdc.model.MdcEquipmentTree;
import org.jeecg.modules.mdc.vo.MdcEfficiencyReportQueryVo;
import org.jeecg.modules.mdc.vo.MdcEfficiencyReportShiftQueryVo;
import org.jeecg.modules.mdc.vo.MdcEquipmentVo;
import org.jeecg.modules.mdc.vo.WorkshopEquipmentVo;
@@ -99,12 +101,12 @@
    /**
     * 加载部门设备树
     */
    List<MdcEquipmentTree> loadTreeListByDepart(String userId);
    List<MdcEquipmentTree> loadTreeListByDepart(String userId, String key);
    /**
     * 加载产线设备树
     */
    List<MdcEquipmentTree> loadTreeListByProduction(String userId);
    List<MdcEquipmentTree> loadTreeListByProduction(String userId, String key);
    /**
     * 设备监控列表
@@ -170,7 +172,7 @@
     */
    IPage<MdcEquipment> getEquipmentByWorkshopId(Page<MdcEquipment> page, WorkshopEquipmentVo workshopEquipmentVo);
    List<String> listEquipmentId(String equipmentType, List<String> equipmentIdList);
    List<String> listEquipmentId(MdcEfficiencyReportQueryVo vo);
    /**
     * 列表查询
@@ -178,7 +180,7 @@
    IPage<MdcEquipment> pageList(Page<MdcEquipment> page, MdcEquipmentVo mdcEquipment, HttpServletRequest req);
    /**
     * 监控设备转速任务
     * 监控设备运行参数任务
     */
    void monitoringSpeedProcess();
@@ -187,6 +189,22 @@
     * @param mdcEquipment
     * @return
     */
    List<MdcEquipment> exportXlsList(MdcEquipment mdcEquipment);
    List<MdcEquipment> exportXlsList(MdcEquipmentVo mdcEquipment);
    /**
     * 通过车间ids获取设备树
     * @param ids
     * @return
     */
    List<MdcEquipmentTree> loadTreeListByProductionIds(String ids);
    /**
     * 查询单表数据
     * @param tableName
     * @return
     */
    MdcEquipmentDto getWorkLineLast(String tableName);
    List<String> listEquipmentIdShift(MdcEfficiencyReportShiftQueryVo vo);
}