select id,
type,
content,
session_id,
user_id,
target_id,
create_by,
create_time,
update_by,
update_time
from ard_call_history
insert into ard_call_history
id,type,content,session_id,user_id,target_id,create_by,create_time,update_by,update_time,#{id},#{type},#{content},#{sessionId},#{userId},#{targetId},#{createBy},#{createTime},#{updateBy},#{updateTime},
update ard_call_history
type = #{type},content = #{content},session_id = #{sessionId},user_id = #{userId},create_by = #{createBy},create_time = #{createTime},update_by = #{updateBy},update_time = #{updateTime},
where id = #{id}
delete
from ard_call_history
where id = #{id}
delete from ard_call_history where id in
#{id}