From 4a1ef7f62d8fc364bef0e0caa02b1792bd052513 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期一, 15 一月 2024 17:45:34 +0800 Subject: [PATCH] 扭矩工作曲线展示 --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcTorqueConfigMapper.xml | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcTorqueConfigMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcTorqueConfigMapper.xml index ef4f0c3..8adc1de 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcTorqueConfigMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcTorqueConfigMapper.xml @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.jeecg.modules.mdc.mapper.MdcTorqueConfigMapper"> - <!--鏍规嵁鎵煩鍊肩敓鎴愪富杞磋繍琛屾洸绾�--> - <select id="findSpindleRunningCurve" resultType="org.jeecg.modules.mdc.entity.MdcTorqueConfig"> - select mtc.* from mdc_torque_config mtc where mtc.torque_value=#{torqueValue} and mtc.equipment_id=#{equipmentId} - </select> <!--鏍规嵁杞﹂棿灞傜骇鏌ヨ鎵煩閰嶇疆鍒楄〃--> <select id="pageList" resultType="org.jeecg.modules.mdc.entity.MdcTorqueConfig"> @@ -39,4 +35,18 @@ ORDER BY torque_date DESC </select> + + <!--鐢熸垚宸ヤ綔鏇茬嚎--> + <select id="getWorkLineList" resultType="org.jeecg.modules.mdc.dto.EquipmentMachingDto"> + SELECT + torque_date CollectTime, + torque_value, + feed_parameter + FROM + mdc_torque_config + WHERE + equipment_id = #{ equipmentId } AND torque_date BETWEEN #{ startTime } AND #{ endTime } + ORDER BY + torque_date ASC + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3