From 5e75ef24e5dd45ae934dc7f03f6c7736ca73c9ff Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期二, 27 八月 2024 15:01:32 +0800 Subject: [PATCH] fix order search --- pms-parent/pms-global/src/main/resources/mapper/BaUserMapper.xml | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaUserMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaUserMapper.xml index 8a3fdc4..12b158a 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/BaUserMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/BaUserMapper.xml @@ -108,7 +108,7 @@ <!-- <if test="roleId != null and roleId !=''">--> <!-- ur.role_id=#{roleId,jdbcType=BIGINT} and--> <!-- </if>--> - <if test="disabled != null and disabled !=''"> + <if test="disabled != null"> bu.disabled=#{disabled,jdbcType=BOOLEAN} </if> </trim> @@ -129,7 +129,7 @@ <!-- <if test="roleId != null and roleId !=''">--> <!-- ur.role_id=#{roleId,jdbcType=BIGINT} and--> <!-- </if>--> - <if test="disabled != null and disabled !=''"> + <if test="disabled != null"> bu.disabled=#{disabled,jdbcType=BOOLEAN} </if> </trim> @@ -170,7 +170,7 @@ <!--@mbg.generated--> insert into ba_user <trim prefix="(" suffix=")" suffixOverrides=","> - <if test="id != null and id !=''"> + <if test="id != null"> id, </if> <if test="name != null and name !=''"> @@ -185,15 +185,15 @@ <if test="supperAdmin!= null and supperAdmin !=''"> supper_admin, </if> - <if test="disabled != null and disabled !=''"> + <if test="disabled != null"> disabled, </if> - <if test="deleted != null and deleted !=''"> + <if test="deleted != null"> deleted, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> - <if test="id != null and id !=''"> + <if test="id != null"> #{id}, </if> <if test="name != null and name !=''"> @@ -208,10 +208,10 @@ <if test="supperAdmin!= null and supperAdmin !=''"> #{supperAdmin}, </if> - <if test="disabled != null and disabled !=''"> + <if test="disabled != null"> #{disabled}, </if> - <if test="deleted != null and deleted !=''"> + <if test="deleted != null"> #{deleted}, </if> </trim> @@ -232,10 +232,10 @@ <if test="supperAdmin!= null and supperAdmin !=''"> supper_admin = #{supperAdmin}, </if> - <if test="disabled != null and disabled !=''"> + <if test="disabled != null"> disabled = #{disabled}, </if> - <if test="deleted != null and deleted !=''"> + <if test="deleted != null"> deleted = #{deleted}, </if> </set> -- Gitblit v1.8.0