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/MdcEquipmentMapper.xml | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml index e29c675..828999f 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml @@ -263,4 +263,17 @@ select top 1 spindlespeed, actualspindlespeed from [${tableName}] order by CollectTime desc </select> + <!--鏍规嵁id鑾峰彇璁惧淇℃伅--> + <select id="findById" resultType="org.jeecg.modules.mdc.dto.MdcEquipmentDetailedDto"> + SELECT + t1.*, + t2.MaxAxis maxAxis, + t2.ValidAxis validAxis + FROM + mdc_equipment t1 + LEFT JOIN EquipmentBaseInfo t2 ON t1.equipment_id = t2.EquipmentID + WHERE + t1.id = #{ id } + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.3