select chat_id, name, owner, notice, member_version, status, company_id, corp_id, create_time, update_time, create_at, group_size, today_join, today_out, all_out_group from qw_group_chat
insert into qw_group_chat
chat_id,
name,
owner,
notice,
member_version,
status,
company_id,
corp_id,
create_time,
update_time,
create_at,
group_size,
today_join,
today_out,
all_out_group,
#{chatId},
#{name},
#{owner},
#{notice},
#{memberVersion},
#{status},
#{companyId},
#{corpId},
#{createTime},
#{updateTime},
#{createAt},
#{groupSize},
#{todayJoin},
#{todayOut},
#{allOutGroup},
on duplicate key update
name = #{name},
owner = #{owner},
notice = #{notice},
member_version = #{memberVersion},
status = #{status},
company_id = #{companyId},
corp_id = #{corpId},
create_time = #{createTime},
update_time = #{updateTime},
create_at = #{createAt},
group_size = #{groupSize},
today_join = #{todayJoin},
today_out = #{todayOut},
all_out_group = #{allOutGroup},
insert into qw_group_chat
chat_id,
name,
owner,
notice,
member_version,
status,
company_id,
corp_id,
create_time,
update_time,
create_at,
group_size,
today_join,
today_out,
all_out_group,
#{chatId},
#{name},
#{owner},
#{notice},
#{memberVersion},
#{status},
#{companyId},
#{corpId},
#{createTime},
#{updateTime},
#{createAt},
#{groupSize},
#{todayJoin},
#{todayOut},
#{allOutGroup},
update qw_group_chat
name = #{name},
owner = #{owner},
notice = #{notice},
member_version = #{memberVersion},
status = #{status},
company_id = #{companyId},
corp_id = #{corpId},
create_time = #{createTime},
update_time = #{updateTime},
create_at = #{createAt},
group_size = #{groupSize},
today_join = #{todayJoin},
today_out = #{todayOut},
all_out_group = #{allOutGroup},
where chat_id = #{chatId}
delete from qw_group_chat where chat_id = #{chatId}
delete from qw_group_chat where chat_id in
#{chatId}