|
@@ -61,7 +61,7 @@
|
|
|
<if test="userId != null">
|
|
|
user_id_ = #{userId},
|
|
|
</if>
|
|
|
- <if test="nickname != null">
|
|
|
+ <if test="nickname != null and nickname != ''">
|
|
|
nickname_ = #{nickname},
|
|
|
</if>
|
|
|
<if test="isAdmin != null">
|
|
@@ -81,26 +81,26 @@
|
|
|
<foreach collection="list" item="item" index="index" open="" close="" separator=";">
|
|
|
UPDATE im_group_member
|
|
|
<set>
|
|
|
- <if test="item.groupRoleType != null">
|
|
|
+ <if test="item.groupRoleType != null and item.groupRoleType != ''">
|
|
|
group_role_type_ = #{item.groupRoleType},
|
|
|
</if>
|
|
|
<if test="item.muteFlag != null">
|
|
|
mute_flag_ = #{item.muteFlag},
|
|
|
</if>
|
|
|
<if test="item.roleType != null">
|
|
|
- role_type_ = #{item.roleType},
|
|
|
+ role_type_ = #{item.roleType},
|
|
|
</if>
|
|
|
<if test="item.userId != null">
|
|
|
- user_id_ = #{item.userId},
|
|
|
+ user_id_ = #{item.userId},
|
|
|
</if>
|
|
|
- <if test="item.nickname != null">
|
|
|
- nickname_ = #{item.nickname},
|
|
|
+ <if test="item.nickname != null and item.nickname != ''">
|
|
|
+ nickname_ = #{item.nickname},
|
|
|
</if>
|
|
|
<if test="item.isAdmin != null">
|
|
|
- is_admin_ = #{item.isAdmin},
|
|
|
+ is_admin_ = #{item.isAdmin},
|
|
|
</if>
|
|
|
<if test="item.imGroupId != null">
|
|
|
- im_group_id_ = #{item.imGroupId},
|
|
|
+ im_group_id_ = #{item.imGroupId},
|
|
|
</if>
|
|
|
<if test="item.type != null">
|
|
|
type_ = #{item.type},
|