| | |
| | | <!--@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> |