From c6acf648b8bcee16df04dcc26e146c5d2dfb00b4 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期二, 08 七月 2025 11:54:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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