select flow_id, area_id, owner, owner_id, owner_type, order_no, out_trade_no, type, bus_type, status, amount, handling_charge, platform_service_fee, operator_dividend, operator_balance, partner_dividend, pay_type, create_time, model_id from et_capital_flow insert into et_capital_flow flow_id, area_id, owner, owner_id, owner_type, order_no, out_trade_no, type, bus_type, status, amount, handling_charge, platform_service_fee, operator_dividend, operator_balance, partner_dividend, pay_type, create_time, model_id, #{flowId}, #{areaId}, #{owner}, #{ownerId}, #{ownerType}, #{orderNo}, #{outTradeNo}, #{type}, #{busType}, #{status}, #{amount}, #{handlingCharge}, #{platformServiceFee}, #{operatorDividend}, #{operatorBalance}, #{partnerDividend}, #{payType}, #{createTime}, #{modelId}, update et_capital_flow area_id = #{areaId}, owner = #{owner}, owner_id = #{ownerId}, owner_type = #{ownerType}, order_no = #{orderNo}, out_trade_no = #{outTradeNo}, type = #{type}, bus_type = #{busType}, status = #{status}, amount = #{amount}, handling_charge = #{handlingCharge}, platform_service_fee = #{platformServiceFee}, operator_dividend = #{operatorDividend}, operator_balance = #{operatorBalance}, partner_dividend = #{partnerDividend}, pay_type = #{payType}, create_time = #{createTime}, model_id = #{modelId}, where flow_id = #{flowId} delete from et_capital_flow where flow_id = #{flowId} delete from et_capital_flow where flow_id in #{flowId}