From f4d5b46cfffc27d626afc3c43e8e20a11e686a00 Mon Sep 17 00:00:00 2001 From: houruijun <411269194@kidgrow.com> Date: Thu, 29 Oct 2020 16:37:56 +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