From c8cdba0d34f57835a96233a7f0a7eaa35774dd6f Mon Sep 17 00:00:00 2001
From: dougang <78125310@kidgrow.com>
Date: Wed, 09 Dec 2020 18:28:06 +0800
Subject: [PATCH] 增加通过关键字查询机构列表

---
 kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/SaasClientPayMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/SaasClientPayMapper.xml b/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/SaasClientPayMapper.xml
index dc83d50..bc6c813 100644
--- a/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/SaasClientPayMapper.xml
+++ b/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/SaasClientPayMapper.xml
@@ -51,7 +51,7 @@
             <if test="p.prepayId != null and p.prepayId !=''">
                 and prepay_id = #{p.prepayId}
             </if>
-            <if test="p.type != null ">
+            <if test="p.type != null and p.type !=''">
                 and type = #{p.type}
             </if>
             <if test="p.createUserId != null and p.createUserId !=''">
@@ -128,7 +128,7 @@
             <if test="p.prepayId != null and p.prepayId !=''">
                 and prepay_id = #{p.prepayId}
             </if>
-            <if test="p.type != null ">
+            <if test="p.type != null and p.type !='' ">
                 and type = #{p.type}
             </if>
             <if test="p.createUserId != null and p.createUserId !=''">

--
Gitblit v1.8.0