From d82642e04f2dd9f2dc04dd7196a1e83fcfc95913 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期二, 27 八月 2024 11:31:40 +0800 Subject: [PATCH] order status --- pms-parent/pms-global/src/main/resources/mapper/BaRolePrivilegeMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaRolePrivilegeMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaRolePrivilegeMapper.xml index daad892..0416f49 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/BaRolePrivilegeMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/BaRolePrivilegeMapper.xml @@ -32,18 +32,18 @@ <!--@mbg.generated--> insert into ba_role_privilege <trim prefix="(" suffix=")" suffixOverrides=","> - <if test="roleId != null"> + <if test="roleId != null and roleId !=''"> role_id, </if> - <if test="privilegeId != null"> + <if test="privilegeId!= null and privilegeId !=''"> privilege_id, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> - <if test="roleId != null"> + <if test="roleId != null and roleId !=''"> #{roleId}, </if> - <if test="privilegeId != null"> + <if test="privilegeId!= null and privilegeId !=''"> #{privilegeId}, </if> </trim> -- Gitblit v1.8.0