商品查询修改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user