From 3e784708e465b4dca8c47514cf6119e63fd4b3a5 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期二, 25 六月 2024 16:27:40 +0800 Subject: [PATCH] 设备详细信息接口更新 --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/EquipmentWorklineMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/EquipmentWorklineMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/EquipmentWorklineMapper.xml index 05698e7..27b64c4 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/EquipmentWorklineMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/EquipmentWorklineMapper.xml @@ -21,4 +21,8 @@ <select id="findProductCountEndTime" resultType="org.jeecg.modules.mdc.dto.MdcEquipmentDto"> SELECT TOP 1 [${tableName}].* FROM [${tableName}] WHERE ProductCount = #{ productCount } AND CollectTime BETWEEN #{ startTime } AND #{ endTime } ORDER BY CollectTime DESC </select> + + <select id="getDataList" resultType="java.util.Map"> + select top 1 [${tableName}].* from [${tableName}] order by CollectTime desc + </select> </mapper> -- Gitblit v1.9.3