From f7a95fddddb0efd60abdab7550ae636c379a2a20 Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期五, 08 三月 2024 12:44:49 +0800 Subject: [PATCH] 功能调整 --- cnas-server/src/main/resources/mapper/DeviceMapper.xml | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/cnas-server/src/main/resources/mapper/DeviceMapper.xml b/cnas-server/src/main/resources/mapper/DeviceMapper.xml index ac14df2..e5740f4 100644 --- a/cnas-server/src/main/resources/mapper/DeviceMapper.xml +++ b/cnas-server/src/main/resources/mapper/DeviceMapper.xml @@ -60,17 +60,13 @@ </select> <select id="authorizedPerson" resultType="com.yuanchu.mom.pojo.Device"> select id, - authorized_person, - status + authorized_person from device </select> <select id="search" resultType="com.yuanchu.mom.pojo.Device"> select * from device <where> - <if test="status!=null"> - and status = #{status} - </if> <if test="deviceName!=null and deviceName!=''"> and device_name like concat('%',#{deviceName},'%') </if> -- Gitblit v1.9.3