A.gm_id,
A.oc_id,
A.group_id,
B.group_name,
B.node_left ,
B.node_right,
A.account_id
INSERT INTO s_group_member
oc_id,
gm_id,
group_id,
account_id,
created_by,
created_at,
#{ocId ,jdbcType=BIGINT},
#{gmId ,jdbcType=BIGINT},
#{groupId,jdbcType=BIGINT},
#{accountId,jdbcType=BIGINT},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=TIMESTAMP},
UPDATE s_group_member
group_id = #{groupId,jdbcType=BIGINT},
account_id = #{accountId,jdbcType=BIGINT},
updated_by = #{updatedBy,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
WHERE gm_id = #{gmId,jdbcType=BIGINT}
AND oc_id = #{ocId,jdbcType=BIGINT}
UPDATE s_group_member
deleted_flag = #{deletedFlag,jdbcType=BIGINT},
deleted_at = #{deletedAt ,jdbcType=DATE},
deleted_by = #{deletedBy,jdbcType=BIGINT},
WHERE 1 = 1
AND gm_id = #{gmId ,jdbcType=BIGINT}
AND oc_id = #{ocId ,jdbcType=BIGINT}
AND group_id = #{groupId ,jdbcType=BIGINT}
AND account_id = #{accountId ,jdbcType=BIGINT}