From 15ae1e3b5cda40a8248a1addf4a64c1e0a9e2b13 Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期五, 12 七月 2024 18:02:04 +0800 Subject: [PATCH] 设备管理修改 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamEquipmentMapper.xml | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamEquipmentMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamEquipmentMapper.xml index f1dd971..66462e6 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamEquipmentMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamEquipmentMapper.xml @@ -252,8 +252,10 @@ t1.line_id lineId, t1.is_meta isMeta, t1.id showId, + t1.is_line isLine, t1.is_line_equip isLineEquip, t1.is_judging isJudging, + t1.area_id areaId, t3.sumOfEquipment from mom_eam_equipment t1 left join (select * from mom_eam_equipment_category where del_flag = 0) t2 on t1.equipment_category_id = t2.id @@ -273,6 +275,10 @@ </if> <if test="workCenterId != null and workCenterId != ''"> and t1.work_center_id = #{workCenterId} + </if> +-- 鏍规嵁areaId鏌ヨ璁惧 + <if test="areaId != null and areaId != ''"> + and t1.area_id = #{areaId} </if> <if test="factoryModelId != null and factoryModelId != ''"> and t1.factory_model_id = #{factoryModelId} @@ -319,8 +325,9 @@ <if test="lineId != null and lineId != ''"> and t1.line_id = #{lineId} </if> - order by (CASE WHEN t1.is_meta='yes' then GETDATE() else t1.create_time end) desc + order by t1.create_time desc </select> +<!-- order by (CASE WHEN t1.is_meta='yes' then GETDATE() else t1.create_time end) desc--> <select id="getStandardList" resultType="org.jeecg.modules.eam.entity.DailyInspectionStandardDetail"> select t9.* from ( select t1.id id, -- Gitblit v1.9.3