From e44da3a342bad6552b6a6998b9ead44c540c2e47 Mon Sep 17 00:00:00 2001
From: JYW <2013732181@qq.com>
Date: 星期五, 26 四月 2024 09:14:10 +0800
Subject: [PATCH] 2024-04-25 资质凭证bug和印章管理将实验室id改为实验室名称
---
cnas-server/src/main/resources/mapper/DeviceMapper.xml | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/cnas-server/src/main/resources/mapper/DeviceMapper.xml b/cnas-server/src/main/resources/mapper/DeviceMapper.xml
index ac14df2..f24ba1a 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>
@@ -84,7 +80,6 @@
</select>
<update id="upDeviceParameter" parameterType="com.yuanchu.mom.pojo.Device">
-
UPDATE device
<set>
<if test="largeCategory!=null and largeCategory!='' ">large_category=#{largeCategory},</if>
@@ -122,7 +117,6 @@
id=#{id}
</where>
</update>
-
<select id="selectDeviceImage" resultType="com.yuanchu.mom.pojo.Device">
select (image_upload, create_user, create_time) values (#{image_upload}
, #{createUser}
--
Gitblit v1.9.3