From 1f71a273c29432665a93507211e9168e51ac4d3f Mon Sep 17 00:00:00 2001 From: zhangnaisong <2434969829@qq.com> Date: 星期三, 29 五月 2024 13:59:10 +0800 Subject: [PATCH] 光电查询加入自定义权限修改提交 --- ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml b/ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml index 06ddea5..0f52fe2 100644 --- a/ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml +++ b/ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml @@ -51,6 +51,7 @@ <include refid="selectArdEquipExternalVo"/> <where> <if test="name != null and name != ''">and c.name like '%'||#{name}||'%'</if> + <if test="ip != null and ip != ''">and c.ip = #{ip}</if> <if test="type != null and type != ''">and c.type = #{type}</if> <if test="factory != null and factory != ''">and c.factory = #{factory}</if> <if test="deptId != null ">and (c.dept_id = #{deptId} OR c.dept_id IN ( SELECT t.dept_id FROM sys_dept t -- Gitblit v1.9.3