刘小明
2024-08-30 5b207a55bdd10f1516031f629217daac069b64fd
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 and roleId !=''">
      <if test="roleId != null">
        role_id,
      </if>
      <if test="privilegeId!= null and privilegeId !=''">
      <if test="privilegeId!= null">
        privilege_id,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="roleId != null and roleId !=''">
      <if test="roleId != null">
        #{roleId},
      </if>
      <if test="privilegeId!= null and privilegeId !=''">
      <if test="privilegeId!= null">
        #{privilegeId},
      </if>
    </trim>