From 3423bb9ee5b25d270a00763b69ed73970d790f63 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期二, 18 二月 2025 16:43:43 +0800 Subject: [PATCH] update --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcRepairInfoMapper.xml | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcRepairInfoMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcRepairInfoMapper.xml index 8531fc7..c44cf58 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcRepairInfoMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcRepairInfoMapper.xml @@ -27,4 +27,24 @@ </where> ORDER BY the_date DESC, equipment_id ASC </select> + + <!--鏌ヨ褰撴湀鎬荤淮淇椂闂�--> + <select id="findTotalRepairLong" resultType="java.math.BigDecimal"> + SELECT + SUM(repair_long) + FROM + mdc_repair_info + WHERE + the_date LIKE CONCAT(#{month}, '%') + </select> + + <!--鏌ヨ褰撴湀鎬荤淮淇鏁�--> + <select id="findTotalRepairCount" resultType="java.lang.Integer"> + SELECT + COUNT(repair_long) + FROM + mdc_repair_info + WHERE + the_date LIKE CONCAT(#{month}, '%') + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3