select acg.*,acgu.* from ard_call_group acg left join ard_call_group_user acgu on acg.id = acgu.group_id insert into ard_call_group id, name, create_by, create_time, update_by, update_time, #{id}, #{name}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update ard_call_group name = #{name}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from ard_call_group where id = #{id} delete from ard_call_group where id in #{id}