From 8effc395f2953b487f452cf04616f547f41b0819 Mon Sep 17 00:00:00 2001
From: xiaogang <905166056@qq.com>
Date: 星期六, 13 八月 2022 22:26:46 +0800
Subject: [PATCH] 优化代码
---
java110-db/src/main/resources/mapper/community/RouteServiceDaoImplMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/RouteServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/RouteServiceDaoImplMapper.xml
index 1cd7189..9babc6c 100755
--- a/java110-db/src/main/resources/mapper/community/RouteServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/RouteServiceDaoImplMapper.xml
@@ -90,6 +90,9 @@
<if test="serviceUrl != null and serviceUrl != ''">
and s.url = #{serviceUrl}
</if>
+ <if test="appName != null and appName != ''">
+ and a.name = #{appName}
+ </if>
<if test="page != -1 and page != null ">
limit #{page}, #{row}
</if>
@@ -155,5 +158,8 @@
<if test="serviceUrl != null and serviceUrl != ''">
and s.url = #{serviceUrl}
</if>
+ <if test="appName != null and appName != ''">
+ and a.name = #{appName}
+ </if>
</select>
</mapper>
--
Gitblit v1.8.0