From 411d79af7b1b755535fa9a9ee6ed94f682fca09a Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期四, 21 十二月 2023 17:19:18 +0800 Subject: [PATCH] 保养标准导入 --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentOvertimeMapper.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentOvertimeMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentOvertimeMapper.xml index 65a66dd..a528b02 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentOvertimeMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentOvertimeMapper.xml @@ -77,4 +77,16 @@ </where> order by t2.effective_date asc </select> + + <!--鏌ヨ鍔犵彮鏃堕暱--> + <select id="computeOvertime" resultType="org.jeecg.modules.mdc.entity.MdcEquipmentOvertime"> + SELECT + meo.* + FROM + mdc_equipment_overtime meo + LEFT JOIN mdc_device_calendar mdc ON meo.calendar_id = mdc.id + WHERE + mdc.effective_date LIKE CONCAT(#{ validDate }, '%') + AND mdc.equipment_id = #{ equipmentId } + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3