From cec1ded044e662e9de019eaaacc1ea3c76bda556 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 21 五月 2025 11:40:48 +0800 Subject: [PATCH] 项目开发人员在开发过程中修改了pom.xml配置文件,破坏了系统架构设计,造成pom凌乱,导致不好管理依赖,当下重新规范了pom.xml配置文件内容,使重新符合系统架构设计规范。 --- pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml index 3783013..9c480d2 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml @@ -78,16 +78,16 @@ <if test="id != null"> id, </if> - <if test="num != null"> + <if test="num != null and num !=''"> num, </if> - <if test="name != null"> + <if test="name != null and name !=''"> `name`, </if> <if test="type != null"> `type`, </if> - <if test="typeName != null"> + <if test="typeName!= null and typeName !=''"> type_name, </if> </trim> @@ -98,13 +98,13 @@ <if test="num != null"> #{num}, </if> - <if test="name != null"> + <if test="name != null and name !=''"> #{name}, </if> - <if test="type != null"> + <if test="type != null and type !=''"> #{type}, </if> - <if test="typeName != null"> + <if test="typeName!= null and typeName !=''"> #{typeName}, </if> </trim> @@ -113,16 +113,16 @@ <!--@mbg.generated--> update ba_privilege <set> - <if test="num != null"> + <if test="num != null and num !=''"> num = #{num}, </if> - <if test="name != null"> + <if test="name != null and name !=''"> `name` = #{name}, </if> - <if test="type != null"> + <if test="type != null and type !=''"> `type` = #{type}, </if> - <if test="typeName != null"> + <if test="typeName!= null and typeName !=''"> type_name = #{typeName}, </if> </set> -- Gitblit v1.8.0