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 | 2 +- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientMapper.xml | 2 +- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml | 2 +- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml | 2 +- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaRoleMapper.xml | 2 +- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDivideMapper.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml index 0b3ddff..9398b38 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml @@ -76,7 +76,7 @@ order by id DESC <trim prefix="limit " > <if test="start != null and count != null"> - #{start,jdbcType=INTEGER}, #{count,jdbcType=INTEGER} + #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} </if> </trim> </select> diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientMapper.xml index 7343bfc..569942f 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientMapper.xml @@ -116,7 +116,7 @@ order by bc.id DESC <trim prefix="limit " > <if test="start != null and count != null"> - #{start,jdbcType=INTEGER}, #{count,jdbcType=INTEGER} + #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} </if> </trim> </select> 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 7376395..b97da7e 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml @@ -55,7 +55,7 @@ order by id DESC <trim prefix="limit " > <if test="start != null and count != null"> - #{start,jdbcType=INTEGER}, #{count,jdbcType=INTEGER} + #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} </if> </trim> </select> diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDivideMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDivideMapper.xml index 6edd8a3..a59feb6 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDivideMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDivideMapper.xml @@ -97,7 +97,7 @@ order by bd.id DESC <trim prefix="limit " > <if test="start != null and count != null"> - #{start,jdbcType=INTEGER}, #{count,jdbcType=INTEGER} + #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} </if> </trim> </select> diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaRoleMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaRoleMapper.xml index faca4a6..14923bd 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaRoleMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaRoleMapper.xml @@ -65,7 +65,7 @@ order by id DESC <trim prefix="limit " > <if test="start != null and count != null"> - #{start,jdbcType=INTEGER}, #{count,jdbcType=INTEGER} + #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} </if> </trim> </select> diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml index 2e30167..60ab981 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml @@ -86,7 +86,7 @@ order by id DESC <trim prefix="limit " > <if test="start != null and count != null"> - #{start,jdbcType=INTEGER}, #{count,jdbcType=INTEGER} + #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} </if> </trim> </select> -- Gitblit v1.8.0