From d000f6408f4baa0a0f87d4eda39bc8b9b543ed5b Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期五, 30 五月 2025 09:51:01 +0800 Subject: [PATCH] 设备管理后端修改 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml index 5a63a2b..0768753 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml @@ -6,15 +6,19 @@ from mom_eam_stream t1 left join sys_user t2 on t2.id = t1.create_by where 1=1 + <if test="num != null and num != ''"> + and t1.num like concat('%',#{num},'%') + </if> <choose> <when test="areaId != null and areaId != ''"> and t2.area_id = #{areaId} </when> - <otherwise> - and t2.area_id = '-1' - </otherwise> - </choose> + </choose> + ORDER BY t1.create_time desc </select> +<!-- <otherwise>--> +<!-- and t2.area_id = '-1'--> +<!-- </otherwise>--> </mapper> -- Gitblit v1.9.3