From 16e35b191d910e5e586a9eae5678324bfa679408 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期一, 12 八月 2024 09:55:13 +0800
Subject: [PATCH] update

---
 lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcProcessQuantityMapper.xml |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcProcessQuantityMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcProcessQuantityMapper.xml
index 4eb3e9c..2025e93 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcProcessQuantityMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcProcessQuantityMapper.xml
@@ -133,4 +133,23 @@
             LEFT JOIN mdc_equipment t3 ON t1.equipment_id = t3.equipment_id
         WHERE t1.id = #{ id }
     </select>
+
+    <select id="findList" resultType="org.jeecg.modules.mdc.dto.MdcProcessQuantityDto">
+        SELECT
+            t1.id id,
+            t1.equipment_id equipmentId,
+            t2.parts_code partsCode,
+            t2.batch_code batchCode,
+            t2.sequence_number sequenceNumber,
+            t1.standard_id standardId,
+            t1.efficient_date efficientDate,
+            t1.process_quantity processQuantity,
+            t2.duration duration
+        FROM
+            mdc_process_quantity t1
+                LEFT JOIN mdc_standard_process_duration t2 ON t1.standard_id = t2.id
+        WHERE
+            t1.equipment_id = #{equipmentId}
+            AND t1.efficient_date LIKE CONCAT(CONCAT('%',#{ validDate }),'%')
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3