From ebae0c1137ba96d38e5b2323577129d2c9ff2e6e Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 22 五月 2025 09:45:59 +0800 Subject: [PATCH] 1、优化配置文件; 2、优化ID生成器代码; 3、修改注释; 4、修改权限初始化时算法; 5、导出Excel文件功能归为一个新类; 6、工站数据库存入验空修改; --- 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