From 5d4112fa1bbd47dc6e7b9c0d239e34b020776924 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期五, 30 五月 2025 17:39:15 +0800 Subject: [PATCH] 添加文件上传下载功能 --- 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