From b1990a8c22c56bc24c6a51486c4789d78d7ef0f9 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 29 十月 2024 15:41:28 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml
index b97da7e..de4c4e3 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml
@@ -37,7 +37,7 @@
count(*)
from ba_client_type
<trim prefix="where" suffixOverrides="and">
- <if test="name != null">
+ <if test="name != null and name != ''">
name like concat('%', #{name}, '%') and
</if>
</trim>
@@ -48,7 +48,7 @@
<include refid="Base_Column_List" />
from ba_client_type
<trim prefix="where" suffixOverrides="and">
- <if test="name != null">
+ <if test="name != null and name != ''">
name like concat('%', #{name}, '%')
</if>
</trim>
@@ -60,7 +60,7 @@
</trim>
</select>
- <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClientType">
+ <insert id="putin" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClientType">
<!--@mbg.generated-->
insert into ba_client_type (id, `name`)
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR})
--
Gitblit v1.8.0