select id, business_id, type, content, is_delete, create_by, create_by_id, create_time, update_by, update_by_id, update_time from t_discussions insert into t_discussions id, business_id, type, content, is_delete, create_by, create_by_id, create_time, update_by, update_by_id, update_time, #{id}, #{businessId}, #{type}, #{content}, #{isDelete}, #{createBy}, #{createById}, #{createTime}, #{updateBy}, #{updateById}, #{updateTime}, update t_discussions business_id = #{businessId}, type = #{type}, content = #{content}, is_delete = #{isDelete}, create_by = #{createBy}, create_by_id = #{createById}, create_time = #{createTime}, update_by = #{updateBy}, update_by_id = #{updateById}, update_time = #{updateTime}, where id = #{id} delete from t_discussions where id = #{id} delete from t_discussions where id in #{id}