id, merchant_id, shop_id, coupons_price, conpons_amount, is_split, order_amount, create_time, split_time, trade_day,origin_amount delete from tb_split_accounts where id = #{id,jdbcType=INTEGER} insert into tb_split_accounts (id, merchant_id, shop_id, coupons_price, conpons_amount, is_split, order_amount, create_time, split_time, trade_day,origin_amount) values (#{id,jdbcType=INTEGER}, #{merchantId,jdbcType=INTEGER}, #{shopId,jdbcType=INTEGER}, #{couponsPrice,jdbcType=DECIMAL}, #{conponsAmount,jdbcType=DECIMAL}, #{isSplit,jdbcType=VARCHAR}, #{orderAmount,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, #{splitTime,jdbcType=TIMESTAMP}, #{tradeDay,jdbcType=VARCHAR},#{originAmount,jdbcType=DECIMAL}) insert into tb_split_accounts id, merchant_id, shop_id, coupons_price, conpons_amount, is_split, order_amount, create_time, split_time, trade_day, #{id,jdbcType=INTEGER}, #{merchantId,jdbcType=INTEGER}, #{shopId,jdbcType=INTEGER}, #{couponsPrice,jdbcType=DECIMAL}, #{conponsAmount,jdbcType=DECIMAL}, #{isSplit,jdbcType=VARCHAR}, #{orderAmount,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, #{splitTime,jdbcType=TIMESTAMP}, #{tradeDay,jdbcType=VARCHAR}, update tb_split_accounts merchant_id = #{merchantId,jdbcType=INTEGER}, shop_id = #{shopId,jdbcType=INTEGER}, coupons_price = #{couponsPrice,jdbcType=DECIMAL}, conpons_amount = #{conponsAmount,jdbcType=DECIMAL}, is_split = #{isSplit,jdbcType=VARCHAR}, order_amount = #{orderAmount,jdbcType=DECIMAL}, create_time = #{createTime,jdbcType=TIMESTAMP}, split_time = #{splitTime,jdbcType=TIMESTAMP}, trade_day = #{tradeDay,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update tb_split_accounts set merchant_id = #{merchantId,jdbcType=INTEGER}, shop_id = #{shopId,jdbcType=INTEGER}, coupons_price = #{couponsPrice,jdbcType=DECIMAL}, conpons_amount = #{conponsAmount,jdbcType=DECIMAL}, is_split = #{isSplit,jdbcType=VARCHAR}, order_amount = #{orderAmount,jdbcType=DECIMAL}, create_time = #{createTime,jdbcType=TIMESTAMP}, split_time = #{splitTime,jdbcType=TIMESTAMP}, trade_day = #{tradeDay,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}