From a9b68eaf46d73022d46d894bbdb8b099edd07d83 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期一, 18 三月 2024 15:07:27 +0800 Subject: [PATCH] 部分页面添加设备种类和设备级别筛选条件 --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOverallEquipmentEfficiencyMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOverallEquipmentEfficiencyMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOverallEquipmentEfficiencyMapper.xml index aa6acb7..d89d259 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOverallEquipmentEfficiencyMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOverallEquipmentEfficiencyMapper.xml @@ -52,6 +52,12 @@ <if test="mdcOverallEquipmentEfficiency.driveType != null and mdcOverallEquipmentEfficiency.driveType != ''"> AND t2.drive_type = #{ mdcOverallEquipmentEfficiency.driveType } </if> + <if test="mdcOverallEquipmentEfficiency.deviceLevel != null and mdcOverallEquipmentEfficiency.deviceLevel != ''"> + AND t2.device_level = #{ mdcOverallEquipmentEfficiency.deviceLevel } + </if> + <if test="mdcOverallEquipmentEfficiency.deviceCategory != null and mdcOverallEquipmentEfficiency.deviceCategory != ''"> + AND t2.device_category = #{ mdcOverallEquipmentEfficiency.deviceCategory } + </if> </where> </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3