id, position_type, position_sn, user_id, real_name, agent_id, futures_name, futures_code, futures_gid, buy_order_time, buy_order_price, sell_order_time, sell_order_price, order_direction, order_num, futures_standard, futures_unit, all_deposit_amt, order_fee, lock_msg, is_lock, buy_rate, sell_rate, all_profit_and_lose, profit_and_lose,coin_code, order_lever delete from user_futures_position where id = #{id,jdbcType=INTEGER} insert into user_futures_position (id, position_type, position_sn, user_id, real_name, agent_id, futures_name, futures_code, futures_gid, buy_order_time, buy_order_price, sell_order_time, sell_order_price, order_direction, order_num, futures_standard, futures_unit, all_deposit_amt, order_fee, lock_msg, is_lock, buy_rate, sell_rate, all_profit_and_lose, profit_and_lose,coin_code, order_lever) values (#{id,jdbcType=INTEGER}, #{positionType,jdbcType=INTEGER}, #{positionSn,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{realName,jdbcType=VARCHAR}, #{agentId,jdbcType=INTEGER}, #{futuresName,jdbcType=VARCHAR}, #{futuresCode,jdbcType=VARCHAR}, #{futuresGid,jdbcType=VARCHAR}, #{buyOrderTime,jdbcType=TIMESTAMP}, #{buyOrderPrice,jdbcType=DECIMAL}, #{sellOrderTime,jdbcType=TIMESTAMP}, #{sellOrderPrice,jdbcType=DECIMAL}, #{orderDirection,jdbcType=VARCHAR}, #{orderNum,jdbcType=INTEGER}, #{futuresStandard,jdbcType=INTEGER}, #{futuresUnit,jdbcType=VARCHAR}, #{allDepositAmt,jdbcType=DECIMAL}, #{orderFee,jdbcType=DECIMAL}, #{lockMsg,jdbcType=VARCHAR}, #{isLock,jdbcType=INTEGER}, #{buyRate,jdbcType=DECIMAL}, #{sellRate,jdbcType=DECIMAL}, #{allProfitAndLose,jdbcType=DECIMAL}, #{profitAndLose,jdbcType=DECIMAL}, #{coinCode,jdbcType=VARCHAR}, #{orderLever,jdbcType=INTEGER} ) insert into user_futures_position id, position_type, position_sn, user_id, real_name, agent_id, futures_name, futures_code, futures_gid, buy_order_time, buy_order_price, sell_order_time, sell_order_price, order_direction, order_num, futures_standard, futures_unit, all_deposit_amt, order_fee, lock_msg, is_lock, buy_rate, sell_rate, all_profit_and_lose, profit_and_lose, coin_code, order_lever, #{id,jdbcType=INTEGER}, #{positionType,jdbcType=INTEGER}, #{positionSn,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{realName,jdbcType=VARCHAR}, #{agentId,jdbcType=INTEGER}, #{futuresName,jdbcType=VARCHAR}, #{futuresCode,jdbcType=VARCHAR}, #{futuresGid,jdbcType=VARCHAR}, #{buyOrderTime,jdbcType=TIMESTAMP}, #{buyOrderPrice,jdbcType=DECIMAL}, #{sellOrderTime,jdbcType=TIMESTAMP}, #{sellOrderPrice,jdbcType=DECIMAL}, #{orderDirection,jdbcType=VARCHAR}, #{orderNum,jdbcType=INTEGER}, #{futuresStandard,jdbcType=INTEGER}, #{futuresUnit,jdbcType=VARCHAR}, #{allDepositAmt,jdbcType=DECIMAL}, #{orderFee,jdbcType=DECIMAL}, #{lockMsg,jdbcType=VARCHAR}, #{isLock,jdbcType=INTEGER}, #{buyRate,jdbcType=DECIMAL}, #{sellRate,jdbcType=DECIMAL}, #{allProfitAndLose,jdbcType=DECIMAL}, #{profitAndLose,jdbcType=DECIMAL}, #{coinCode,jdbcType=VARCHAR}, #{orderLever,jdbcType=INTEGER}, update user_futures_position position_type = #{positionType,jdbcType=INTEGER}, position_sn = #{positionSn,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=INTEGER}, real_name = #{realName,jdbcType=VARCHAR}, agent_id = #{agentId,jdbcType=INTEGER}, futures_name = #{futuresName,jdbcType=VARCHAR}, futures_code = #{futuresCode,jdbcType=VARCHAR}, futures_gid = #{futuresGid,jdbcType=VARCHAR}, buy_order_time = #{buyOrderTime,jdbcType=TIMESTAMP}, buy_order_price = #{buyOrderPrice,jdbcType=DECIMAL}, sell_order_time = #{sellOrderTime,jdbcType=TIMESTAMP}, sell_order_price = #{sellOrderPrice,jdbcType=DECIMAL}, order_direction = #{orderDirection,jdbcType=VARCHAR}, order_num = #{orderNum,jdbcType=INTEGER}, futures_standard = #{futuresStandard,jdbcType=INTEGER}, futures_unit = #{futuresUnit,jdbcType=VARCHAR}, all_deposit_amt = #{allDepositAmt,jdbcType=DECIMAL}, order_fee = #{orderFee,jdbcType=DECIMAL}, lock_msg = #{lockMsg,jdbcType=VARCHAR}, is_lock = #{isLock,jdbcType=INTEGER}, buy_rate = #{buyRate,jdbcType=DECIMAL}, sell_rate = #{sellRate,jdbcType=DECIMAL}, all_profit_and_lose = #{allProfitAndLose,jdbcType=DECIMAL}, profit_and_lose = #{profitAndLose,jdbcType=DECIMAL}, coin_code = #{coinCode,jdbcType=VARCHAR}, order_lever = #{orderLever,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update user_futures_position set position_type = #{positionType,jdbcType=INTEGER}, position_sn = #{positionSn,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=INTEGER}, real_name = #{realName,jdbcType=VARCHAR}, agent_id = #{agentId,jdbcType=INTEGER}, futures_name = #{futuresName,jdbcType=VARCHAR}, futures_code = #{futuresCode,jdbcType=VARCHAR}, futures_gid = #{futuresGid,jdbcType=VARCHAR}, buy_order_time = #{buyOrderTime,jdbcType=TIMESTAMP}, buy_order_price = #{buyOrderPrice,jdbcType=DECIMAL}, sell_order_time = #{sellOrderTime,jdbcType=TIMESTAMP}, sell_order_price = #{sellOrderPrice,jdbcType=DECIMAL}, order_direction = #{orderDirection,jdbcType=VARCHAR}, order_num = #{orderNum,jdbcType=INTEGER}, futures_standard = #{futuresStandard,jdbcType=INTEGER}, futures_unit = #{futuresUnit,jdbcType=VARCHAR}, all_deposit_amt = #{allDepositAmt,jdbcType=DECIMAL}, order_fee = #{orderFee,jdbcType=DECIMAL}, lock_msg = #{lockMsg,jdbcType=VARCHAR}, is_lock = #{isLock,jdbcType=INTEGER}, buy_rate = #{buyRate,jdbcType=DECIMAL}, sell_rate = #{sellRate,jdbcType=DECIMAL}, all_profit_and_lose = #{allProfitAndLose,jdbcType=DECIMAL}, profit_and_lose = #{profitAndLose,jdbcType=DECIMAL}, coin_code = #{coinCode,jdbcType=VARCHAR}, order_lever = #{orderLever,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}