From ad14176d6173500ac186eb12be29518a527e43fa Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 27 十一月 2023 11:17:11 +0800
Subject: [PATCH] limit中start、count设置,javaType=Integer

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 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 fbc1eb5..b97da7e 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml
@@ -38,7 +38,7 @@
     from ba_client_type
     <trim prefix="where" suffixOverrides="and">
       <if test="name != null">
-        name like concat('%', #{name}, '%')
+        name like concat('%', #{name}, '%') and
       </if>
     </trim>
   </select>
@@ -55,7 +55,7 @@
     order by id DESC
     <trim prefix="limit " >
       <if test="start != null and count != null">
-        #{start}, #{count}
+        #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}
       </if>
     </trim>
   </select>

--
Gitblit v1.8.0