From 2c5f5e7091330a748257baab82e81038a0d22816 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期四, 26 十二月 2024 10:25:30 +0800 Subject: [PATCH] JWT have some error --- pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml index 11e2819..2f6614d 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml @@ -45,10 +45,10 @@ <!--@mbg.generated--> insert into plt_product_params <trim prefix="(" suffix=")" suffixOverrides=","> - <if test="id != null and id !=''"> + <if test="id != null"> id, </if> - <if test="proId != null and proId !=''"> + <if test="proId != null"> pro_id, </if> <if test="paramName!= null and paramName !=''"> @@ -57,15 +57,15 @@ <if test="paramValue!= null and paramValue !=''"> param_value, </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,jdbcType=BIGINT}, </if> - <if test="proId != null and proId !=''"> + <if test="proId != null"> #{proId,jdbcType=BIGINT}, </if> <if test="paramName!= null and paramName !=''"> @@ -74,7 +74,7 @@ <if test="paramValue!= null and paramValue !=''"> #{paramValue,jdbcType=VARCHAR}, </if> - <if test="deleted != null and deleted !=''"> + <if test="deleted != null"> #{deleted,jdbcType=TINYINT} </if> </trim> @@ -83,7 +83,7 @@ <!--@mbg.generated--> update plt_product_params <set> - <if test="proId != null and proId !=''"> + <if test="proId != null"> pro_id = #{proId,jdbcType=BIGINT}, </if> <if test="paramName!= null and paramName !=''"> @@ -92,7 +92,7 @@ <if test="paramValue!= null and paramValue !=''"> param_value = #{paramValue,jdbcType=VARCHAR}, </if> - <if test="deleted != null and deleted !=''"> + <if test="deleted != null"> deleted = #{deleted,jdbcType=TINYINT} </if> </set> -- Gitblit v1.8.0