diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/OrderChildDetailMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/OrderChildDetailMapper.java new file mode 100644 index 0000000..34b5e9e --- /dev/null +++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/OrderChildDetailMapper.java @@ -0,0 +1,17 @@ +package com.chaozhanggui.system.cashierservice.dao; + +import com.chaozhanggui.system.cashierservice.entity.OrderChildDetail; + +public interface OrderChildDetailMapper { + int deleteByPrimaryKey(Integer id); + + int insert(OrderChildDetail record); + + int insertSelective(OrderChildDetail record); + + OrderChildDetail selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(OrderChildDetail record); + + int updateByPrimaryKey(OrderChildDetail record); +} \ No newline at end of file diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/OrderChildInfoMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/OrderChildInfoMapper.java new file mode 100644 index 0000000..a46fa05 --- /dev/null +++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/OrderChildInfoMapper.java @@ -0,0 +1,17 @@ +package com.chaozhanggui.system.cashierservice.dao; + +import com.chaozhanggui.system.cashierservice.entity.OrderChildInfo; + +public interface OrderChildInfoMapper { + int deleteByPrimaryKey(Integer id); + + int insert(OrderChildInfo record); + + int insertSelective(OrderChildInfo record); + + OrderChildInfo selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(OrderChildInfo record); + + int updateByPrimaryKey(OrderChildInfo record); +} \ No newline at end of file diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/entity/OrderChildDetail.java b/src/main/java/com/chaozhanggui/system/cashierservice/entity/OrderChildDetail.java new file mode 100644 index 0000000..ab513b0 --- /dev/null +++ b/src/main/java/com/chaozhanggui/system/cashierservice/entity/OrderChildDetail.java @@ -0,0 +1,159 @@ +package com.chaozhanggui.system.cashierservice.entity; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class OrderChildDetail implements Serializable { + private Integer id; + + private Integer orderId; + + private Integer shopId; + + private Integer productId; + + private Integer productSkuId; + + private Integer num; + + private String productName; + + private String productSkuName; + + private String productImg; + + private Date createTime; + + private Date updateTime; + + private BigDecimal price; + + private BigDecimal priceAmount; + + private String status; + + private BigDecimal packAmount; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getOrderId() { + return orderId; + } + + public void setOrderId(Integer orderId) { + this.orderId = orderId; + } + + public Integer getShopId() { + return shopId; + } + + public void setShopId(Integer shopId) { + this.shopId = shopId; + } + + public Integer getProductId() { + return productId; + } + + public void setProductId(Integer productId) { + this.productId = productId; + } + + public Integer getProductSkuId() { + return productSkuId; + } + + public void setProductSkuId(Integer productSkuId) { + this.productSkuId = productSkuId; + } + + public Integer getNum() { + return num; + } + + public void setNum(Integer num) { + this.num = num; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName == null ? null : productName.trim(); + } + + public String getProductSkuName() { + return productSkuName; + } + + public void setProductSkuName(String productSkuName) { + this.productSkuName = productSkuName == null ? null : productSkuName.trim(); + } + + public String getProductImg() { + return productImg; + } + + public void setProductImg(String productImg) { + this.productImg = productImg == null ? null : productImg.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + public BigDecimal getPriceAmount() { + return priceAmount; + } + + public void setPriceAmount(BigDecimal priceAmount) { + this.priceAmount = priceAmount; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status == null ? null : status.trim(); + } + + public BigDecimal getPackAmount() { + return packAmount; + } + + public void setPackAmount(BigDecimal packAmount) { + this.packAmount = packAmount; + } +} \ No newline at end of file diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/entity/OrderChildInfo.java b/src/main/java/com/chaozhanggui/system/cashierservice/entity/OrderChildInfo.java new file mode 100644 index 0000000..7a7c004 --- /dev/null +++ b/src/main/java/com/chaozhanggui/system/cashierservice/entity/OrderChildInfo.java @@ -0,0 +1,137 @@ +package com.chaozhanggui.system.cashierservice.entity; + +import lombok.Data; + +import java.io.Serializable; +import java.math.BigDecimal; + +@Data +public class OrderChildInfo implements Serializable { + private Integer id; + + private String orderNo; + + private BigDecimal settlementAmount; + + private BigDecimal packFee; + + private BigDecimal originAmount; + + private BigDecimal productAmount; + + private BigDecimal amount; + + private BigDecimal refundAmount; + + private String payType; + + private BigDecimal payAmount; + + private BigDecimal orderAmount; + + private BigDecimal freightAmount; + + private BigDecimal discountRatio; + + private BigDecimal discountAmount; + + private String tableId; + + private BigDecimal smallChange; + + private String sendType; + + private String orderType; + + private String productType; + + private String status; + + private String billingId; + + private String merchantId; + + private String shopId; + + private Byte isVip; + + private String memberId; + + private String userId; + + private Integer productScore; + + private Integer deductScore; + + private String userCouponId; + + private BigDecimal userCouponAmount; + + private Byte refundAble; + + private Long paidTime; + + private Byte isEffect; + + private Byte isGroup; + + private Long updatedAt; + + private Long systemTime; + + private Long createdAt; + + private Byte isAccepted; + + private String payOrderNo; + + private String tradeDay; + + private Integer source; + + private String remark; + + private String masterId; + + private String payRemark; + + private String tableName; + + private String isBuyCoupon; + + private String isUseCoupon; + + private String parentorderno; + + private static final long serialVersionUID = 1L; + public OrderChildInfo(){ + super(); + } + public OrderChildInfo( String orderNo, BigDecimal settlementAmount, BigDecimal packFee,BigDecimal originAmount, + BigDecimal productAmount,BigDecimal orderAmount, BigDecimal freightAmount,String tableId, String sendType, + String orderType,String merchantId,String shopId,String userId,Byte refundAble,String tradeDay,String masterId ) { + this.orderNo = orderNo; + this.masterId = masterId; + this.tradeDay = tradeDay; + this.settlementAmount = settlementAmount; + this.packFee = packFee; + this.originAmount = originAmount; + this.productAmount = productAmount; + this.orderAmount = orderAmount; + this.freightAmount = freightAmount; + this.tableId = tableId; + this.sendType = sendType; + this.orderType = orderType; + this.status = "unpaid"; + this.merchantId = merchantId; + this.shopId = shopId; + this.isVip = 0; + this.userId = userId; + this.refundAble = refundAble; + this.isEffect = 1; + this.systemTime = System.currentTimeMillis(); + this.createdAt = System.currentTimeMillis(); + this.isAccepted = 1; + } + +} \ No newline at end of file diff --git a/src/main/resources/mapper/OrderChildDetailMapper.xml b/src/main/resources/mapper/OrderChildDetailMapper.xml new file mode 100644 index 0000000..c54de84 --- /dev/null +++ b/src/main/resources/mapper/OrderChildDetailMapper.xml @@ -0,0 +1,212 @@ + + + + + + + + + + + + + + + + + + + + + + id, order_id, shop_id, product_id, product_sku_id, num, product_name, product_sku_name, + product_img, create_time, update_time, price, price_amount, status, pack_amount + + + + delete from tb_order_child_detail + where id = #{id,jdbcType=INTEGER} + + + insert into tb_order_child_detail (id, order_id, shop_id, + product_id, product_sku_id, num, + product_name, product_sku_name, product_img, + create_time, update_time, price, + price_amount, status, pack_amount + ) + values (#{id,jdbcType=INTEGER}, #{orderId,jdbcType=INTEGER}, #{shopId,jdbcType=INTEGER}, + #{productId,jdbcType=INTEGER}, #{productSkuId,jdbcType=INTEGER}, #{num,jdbcType=INTEGER}, + #{productName,jdbcType=VARCHAR}, #{productSkuName,jdbcType=VARCHAR}, #{productImg,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{price,jdbcType=DECIMAL}, + #{priceAmount,jdbcType=DECIMAL}, #{status,jdbcType=VARCHAR}, #{packAmount,jdbcType=DECIMAL} + ) + + + insert into tb_order_child_detail + + + id, + + + order_id, + + + shop_id, + + + product_id, + + + product_sku_id, + + + num, + + + product_name, + + + product_sku_name, + + + product_img, + + + create_time, + + + update_time, + + + price, + + + price_amount, + + + status, + + + pack_amount, + + + + + #{id,jdbcType=INTEGER}, + + + #{orderId,jdbcType=INTEGER}, + + + #{shopId,jdbcType=INTEGER}, + + + #{productId,jdbcType=INTEGER}, + + + #{productSkuId,jdbcType=INTEGER}, + + + #{num,jdbcType=INTEGER}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productSkuName,jdbcType=VARCHAR}, + + + #{productImg,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{price,jdbcType=DECIMAL}, + + + #{priceAmount,jdbcType=DECIMAL}, + + + #{status,jdbcType=VARCHAR}, + + + #{packAmount,jdbcType=DECIMAL}, + + + + + update tb_order_child_detail + + + order_id = #{orderId,jdbcType=INTEGER}, + + + shop_id = #{shopId,jdbcType=INTEGER}, + + + product_id = #{productId,jdbcType=INTEGER}, + + + product_sku_id = #{productSkuId,jdbcType=INTEGER}, + + + num = #{num,jdbcType=INTEGER}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_sku_name = #{productSkuName,jdbcType=VARCHAR}, + + + product_img = #{productImg,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + price = #{price,jdbcType=DECIMAL}, + + + price_amount = #{priceAmount,jdbcType=DECIMAL}, + + + status = #{status,jdbcType=VARCHAR}, + + + pack_amount = #{packAmount,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=INTEGER} + + + update tb_order_child_detail + set order_id = #{orderId,jdbcType=INTEGER}, + shop_id = #{shopId,jdbcType=INTEGER}, + product_id = #{productId,jdbcType=INTEGER}, + product_sku_id = #{productSkuId,jdbcType=INTEGER}, + num = #{num,jdbcType=INTEGER}, + product_name = #{productName,jdbcType=VARCHAR}, + product_sku_name = #{productSkuName,jdbcType=VARCHAR}, + product_img = #{productImg,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + price = #{price,jdbcType=DECIMAL}, + price_amount = #{priceAmount,jdbcType=DECIMAL}, + status = #{status,jdbcType=VARCHAR}, + pack_amount = #{packAmount,jdbcType=DECIMAL} + where id = #{id,jdbcType=INTEGER} + + \ No newline at end of file diff --git a/src/main/resources/mapper/OrderChildInfoMapper.xml b/src/main/resources/mapper/OrderChildInfoMapper.xml new file mode 100644 index 0000000..b70a9cf --- /dev/null +++ b/src/main/resources/mapper/OrderChildInfoMapper.xml @@ -0,0 +1,602 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, order_no, settlement_amount, pack_fee, origin_amount, product_amount, amount, + refund_amount, pay_type, pay_amount, order_amount, freight_amount, discount_ratio, + discount_amount, table_id, small_change, send_type, order_type, product_type, status, + billing_id, merchant_id, shop_id, is_vip, member_id, user_id, product_score, deduct_score, + user_coupon_id, user_coupon_amount, refund_able, paid_time, is_effect, is_group, + updated_at, system_time, created_at, is_accepted, pay_order_no, trade_day, source, + remark, master_id, pay_remark, table_name, is_buy_coupon, is_use_coupon, parentOrderNo + + + + delete from tb_order_child_info + where id = #{id,jdbcType=INTEGER} + + + insert into tb_order_child_info (id, order_no, settlement_amount, + pack_fee, origin_amount, product_amount, + amount, refund_amount, pay_type, + pay_amount, order_amount, freight_amount, + discount_ratio, discount_amount, table_id, + small_change, send_type, order_type, + product_type, status, billing_id, + merchant_id, shop_id, is_vip, + member_id, user_id, product_score, + deduct_score, user_coupon_id, user_coupon_amount, + refund_able, paid_time, is_effect, + is_group, updated_at, system_time, + created_at, is_accepted, pay_order_no, + trade_day, source, remark, + master_id, pay_remark, table_name, + is_buy_coupon, is_use_coupon, parentOrderNo + ) + values (#{id,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{settlementAmount,jdbcType=DECIMAL}, + #{packFee,jdbcType=DECIMAL}, #{originAmount,jdbcType=DECIMAL}, #{productAmount,jdbcType=DECIMAL}, + #{amount,jdbcType=DECIMAL}, #{refundAmount,jdbcType=DECIMAL}, #{payType,jdbcType=VARCHAR}, + #{payAmount,jdbcType=DECIMAL}, #{orderAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, + #{discountRatio,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, #{tableId,jdbcType=VARCHAR}, + #{smallChange,jdbcType=DECIMAL}, #{sendType,jdbcType=VARCHAR}, #{orderType,jdbcType=VARCHAR}, + #{productType,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{billingId,jdbcType=VARCHAR}, + #{merchantId,jdbcType=VARCHAR}, #{shopId,jdbcType=VARCHAR}, #{isVip,jdbcType=TINYINT}, + #{memberId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{productScore,jdbcType=INTEGER}, + #{deductScore,jdbcType=INTEGER}, #{userCouponId,jdbcType=VARCHAR}, #{userCouponAmount,jdbcType=DECIMAL}, + #{refundAble,jdbcType=TINYINT}, #{paidTime,jdbcType=BIGINT}, #{isEffect,jdbcType=TINYINT}, + #{isGroup,jdbcType=TINYINT}, #{updatedAt,jdbcType=BIGINT}, #{systemTime,jdbcType=BIGINT}, + #{createdAt,jdbcType=BIGINT}, #{isAccepted,jdbcType=TINYINT}, #{payOrderNo,jdbcType=VARCHAR}, + #{tradeDay,jdbcType=VARCHAR}, #{source,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, + #{masterId,jdbcType=VARCHAR}, #{payRemark,jdbcType=VARCHAR}, #{tableName,jdbcType=VARCHAR}, + #{isBuyCoupon,jdbcType=VARCHAR}, #{isUseCoupon,jdbcType=VARCHAR}, #{parentorderno,jdbcType=VARCHAR} + ) + + + insert into tb_order_child_info + + + id, + + + order_no, + + + settlement_amount, + + + pack_fee, + + + origin_amount, + + + product_amount, + + + amount, + + + refund_amount, + + + pay_type, + + + pay_amount, + + + order_amount, + + + freight_amount, + + + discount_ratio, + + + discount_amount, + + + table_id, + + + small_change, + + + send_type, + + + order_type, + + + product_type, + + + status, + + + billing_id, + + + merchant_id, + + + shop_id, + + + is_vip, + + + member_id, + + + user_id, + + + product_score, + + + deduct_score, + + + user_coupon_id, + + + user_coupon_amount, + + + refund_able, + + + paid_time, + + + is_effect, + + + is_group, + + + updated_at, + + + system_time, + + + created_at, + + + is_accepted, + + + pay_order_no, + + + trade_day, + + + source, + + + remark, + + + master_id, + + + pay_remark, + + + table_name, + + + is_buy_coupon, + + + is_use_coupon, + + + parentOrderNo, + + + + + #{id,jdbcType=INTEGER}, + + + #{orderNo,jdbcType=VARCHAR}, + + + #{settlementAmount,jdbcType=DECIMAL}, + + + #{packFee,jdbcType=DECIMAL}, + + + #{originAmount,jdbcType=DECIMAL}, + + + #{productAmount,jdbcType=DECIMAL}, + + + #{amount,jdbcType=DECIMAL}, + + + #{refundAmount,jdbcType=DECIMAL}, + + + #{payType,jdbcType=VARCHAR}, + + + #{payAmount,jdbcType=DECIMAL}, + + + #{orderAmount,jdbcType=DECIMAL}, + + + #{freightAmount,jdbcType=DECIMAL}, + + + #{discountRatio,jdbcType=DECIMAL}, + + + #{discountAmount,jdbcType=DECIMAL}, + + + #{tableId,jdbcType=VARCHAR}, + + + #{smallChange,jdbcType=DECIMAL}, + + + #{sendType,jdbcType=VARCHAR}, + + + #{orderType,jdbcType=VARCHAR}, + + + #{productType,jdbcType=VARCHAR}, + + + #{status,jdbcType=VARCHAR}, + + + #{billingId,jdbcType=VARCHAR}, + + + #{merchantId,jdbcType=VARCHAR}, + + + #{shopId,jdbcType=VARCHAR}, + + + #{isVip,jdbcType=TINYINT}, + + + #{memberId,jdbcType=VARCHAR}, + + + #{userId,jdbcType=VARCHAR}, + + + #{productScore,jdbcType=INTEGER}, + + + #{deductScore,jdbcType=INTEGER}, + + + #{userCouponId,jdbcType=VARCHAR}, + + + #{userCouponAmount,jdbcType=DECIMAL}, + + + #{refundAble,jdbcType=TINYINT}, + + + #{paidTime,jdbcType=BIGINT}, + + + #{isEffect,jdbcType=TINYINT}, + + + #{isGroup,jdbcType=TINYINT}, + + + #{updatedAt,jdbcType=BIGINT}, + + + #{systemTime,jdbcType=BIGINT}, + + + #{createdAt,jdbcType=BIGINT}, + + + #{isAccepted,jdbcType=TINYINT}, + + + #{payOrderNo,jdbcType=VARCHAR}, + + + #{tradeDay,jdbcType=VARCHAR}, + + + #{source,jdbcType=INTEGER}, + + + #{remark,jdbcType=VARCHAR}, + + + #{masterId,jdbcType=VARCHAR}, + + + #{payRemark,jdbcType=VARCHAR}, + + + #{tableName,jdbcType=VARCHAR}, + + + #{isBuyCoupon,jdbcType=VARCHAR}, + + + #{isUseCoupon,jdbcType=VARCHAR}, + + + #{parentorderno,jdbcType=VARCHAR}, + + + + + update tb_order_child_info + + + order_no = #{orderNo,jdbcType=VARCHAR}, + + + settlement_amount = #{settlementAmount,jdbcType=DECIMAL}, + + + pack_fee = #{packFee,jdbcType=DECIMAL}, + + + origin_amount = #{originAmount,jdbcType=DECIMAL}, + + + product_amount = #{productAmount,jdbcType=DECIMAL}, + + + amount = #{amount,jdbcType=DECIMAL}, + + + refund_amount = #{refundAmount,jdbcType=DECIMAL}, + + + pay_type = #{payType,jdbcType=VARCHAR}, + + + pay_amount = #{payAmount,jdbcType=DECIMAL}, + + + order_amount = #{orderAmount,jdbcType=DECIMAL}, + + + freight_amount = #{freightAmount,jdbcType=DECIMAL}, + + + discount_ratio = #{discountRatio,jdbcType=DECIMAL}, + + + discount_amount = #{discountAmount,jdbcType=DECIMAL}, + + + table_id = #{tableId,jdbcType=VARCHAR}, + + + small_change = #{smallChange,jdbcType=DECIMAL}, + + + send_type = #{sendType,jdbcType=VARCHAR}, + + + order_type = #{orderType,jdbcType=VARCHAR}, + + + product_type = #{productType,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=VARCHAR}, + + + billing_id = #{billingId,jdbcType=VARCHAR}, + + + merchant_id = #{merchantId,jdbcType=VARCHAR}, + + + shop_id = #{shopId,jdbcType=VARCHAR}, + + + is_vip = #{isVip,jdbcType=TINYINT}, + + + member_id = #{memberId,jdbcType=VARCHAR}, + + + user_id = #{userId,jdbcType=VARCHAR}, + + + product_score = #{productScore,jdbcType=INTEGER}, + + + deduct_score = #{deductScore,jdbcType=INTEGER}, + + + user_coupon_id = #{userCouponId,jdbcType=VARCHAR}, + + + user_coupon_amount = #{userCouponAmount,jdbcType=DECIMAL}, + + + refund_able = #{refundAble,jdbcType=TINYINT}, + + + paid_time = #{paidTime,jdbcType=BIGINT}, + + + is_effect = #{isEffect,jdbcType=TINYINT}, + + + is_group = #{isGroup,jdbcType=TINYINT}, + + + updated_at = #{updatedAt,jdbcType=BIGINT}, + + + system_time = #{systemTime,jdbcType=BIGINT}, + + + created_at = #{createdAt,jdbcType=BIGINT}, + + + is_accepted = #{isAccepted,jdbcType=TINYINT}, + + + pay_order_no = #{payOrderNo,jdbcType=VARCHAR}, + + + trade_day = #{tradeDay,jdbcType=VARCHAR}, + + + source = #{source,jdbcType=INTEGER}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + master_id = #{masterId,jdbcType=VARCHAR}, + + + pay_remark = #{payRemark,jdbcType=VARCHAR}, + + + table_name = #{tableName,jdbcType=VARCHAR}, + + + is_buy_coupon = #{isBuyCoupon,jdbcType=VARCHAR}, + + + is_use_coupon = #{isUseCoupon,jdbcType=VARCHAR}, + + + parentOrderNo = #{parentorderno,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + update tb_order_child_info + set order_no = #{orderNo,jdbcType=VARCHAR}, + settlement_amount = #{settlementAmount,jdbcType=DECIMAL}, + pack_fee = #{packFee,jdbcType=DECIMAL}, + origin_amount = #{originAmount,jdbcType=DECIMAL}, + product_amount = #{productAmount,jdbcType=DECIMAL}, + amount = #{amount,jdbcType=DECIMAL}, + refund_amount = #{refundAmount,jdbcType=DECIMAL}, + pay_type = #{payType,jdbcType=VARCHAR}, + pay_amount = #{payAmount,jdbcType=DECIMAL}, + order_amount = #{orderAmount,jdbcType=DECIMAL}, + freight_amount = #{freightAmount,jdbcType=DECIMAL}, + discount_ratio = #{discountRatio,jdbcType=DECIMAL}, + discount_amount = #{discountAmount,jdbcType=DECIMAL}, + table_id = #{tableId,jdbcType=VARCHAR}, + small_change = #{smallChange,jdbcType=DECIMAL}, + send_type = #{sendType,jdbcType=VARCHAR}, + order_type = #{orderType,jdbcType=VARCHAR}, + product_type = #{productType,jdbcType=VARCHAR}, + status = #{status,jdbcType=VARCHAR}, + billing_id = #{billingId,jdbcType=VARCHAR}, + merchant_id = #{merchantId,jdbcType=VARCHAR}, + shop_id = #{shopId,jdbcType=VARCHAR}, + is_vip = #{isVip,jdbcType=TINYINT}, + member_id = #{memberId,jdbcType=VARCHAR}, + user_id = #{userId,jdbcType=VARCHAR}, + product_score = #{productScore,jdbcType=INTEGER}, + deduct_score = #{deductScore,jdbcType=INTEGER}, + user_coupon_id = #{userCouponId,jdbcType=VARCHAR}, + user_coupon_amount = #{userCouponAmount,jdbcType=DECIMAL}, + refund_able = #{refundAble,jdbcType=TINYINT}, + paid_time = #{paidTime,jdbcType=BIGINT}, + is_effect = #{isEffect,jdbcType=TINYINT}, + is_group = #{isGroup,jdbcType=TINYINT}, + updated_at = #{updatedAt,jdbcType=BIGINT}, + system_time = #{systemTime,jdbcType=BIGINT}, + created_at = #{createdAt,jdbcType=BIGINT}, + is_accepted = #{isAccepted,jdbcType=TINYINT}, + pay_order_no = #{payOrderNo,jdbcType=VARCHAR}, + trade_day = #{tradeDay,jdbcType=VARCHAR}, + source = #{source,jdbcType=INTEGER}, + remark = #{remark,jdbcType=VARCHAR}, + master_id = #{masterId,jdbcType=VARCHAR}, + pay_remark = #{payRemark,jdbcType=VARCHAR}, + table_name = #{tableName,jdbcType=VARCHAR}, + is_buy_coupon = #{isBuyCoupon,jdbcType=VARCHAR}, + is_use_coupon = #{isUseCoupon,jdbcType=VARCHAR}, + parentOrderNo = #{parentorderno,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + \ No newline at end of file