From 983bdb5b89932b38d08a11ad1eed6ea89d1597e1 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Mon, 29 Jan 2024 10:07:31 +0800
Subject: [PATCH] 更新
---
assess-system/src/main/resources/mapper/SysAgencyMapper.xml | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/assess-system/src/main/resources/mapper/system/SysAgencyMapper.xml b/assess-system/src/main/resources/mapper/SysAgencyMapper.xml
similarity index 92%
rename from assess-system/src/main/resources/mapper/system/SysAgencyMapper.xml
rename to assess-system/src/main/resources/mapper/SysAgencyMapper.xml
index cab000a..8afaa7e 100644
--- a/assess-system/src/main/resources/mapper/system/SysAgencyMapper.xml
+++ b/assess-system/src/main/resources/mapper/SysAgencyMapper.xml
@@ -59,11 +59,20 @@
<if test="name != null and name != ''">
AND a.name like concat('%', #{name}, '%')
</if>
+ <if test="province != null and province != ''">
+ AND a.province=#{province}
+ </if>
<if test="city != null and city != ''">
AND a.city=#{city}
</if>
+ <if test="district != null and district != ''">
+ AND a.district=#{district}
+ </if>
<if test="business != null and business != ''">
AND a.business like concat("%",#{business},"%")
+ </if>
+ <if test="publication != null">
+ AND a.publication =#{publication}
</if>
</where>
order by a.create_time desc
@@ -73,10 +82,6 @@
<include refid="selectAgencyVo"/>
where a.del_flag = 0 and a.id=#{agencyId}
</select>
-
- <delete id="deleteAgencyById" parameterType="java.lang.Long">
- update sys_agency set del_flag=1 where id=#{agencyId}
- </delete>
<select id="getBusinessById" resultType="java.lang.String">
--
Gitblit v1.9.2