订单倒计时

会员余额明细
库存
This commit is contained in:
2024-06-14 16:33:02 +08:00
parent 69b7ed77ec
commit 4c5fabfffb
14 changed files with 116 additions and 18 deletions

View File

@@ -101,6 +101,29 @@ public class TbOrderInfo implements Serializable {
private List<TbOrderDetail> detailList;
private String winnnerNo;
private String isWinner;
//根据状态返回 需付款 已付款 未付款 已退
private String description;
public void setDescription() {
switch (status) {
case "closed":
this.description = "已付款";
break;
case "refund":
this.description = "已退款";
break;
case "paying":
case "unpaid":
this.description = "需付款";
break;
default:
this.description = "";
break;
}
}
private static final long serialVersionUID = 1L;
public TbOrderInfo(){
super();

View File

@@ -29,4 +29,9 @@ public class HomeDto extends HomeBaseDto {
*/
private Integer dateType = 1;
public void setOrderBy(Integer orderBy) {
if(orderBy!=null){
this.orderBy = orderBy;
}
}
}

View File

@@ -24,6 +24,8 @@ public class OrderVo {
private String orderNo;
private Long time;
private Long expiredMinutes = 0l;
private Long expiredSeconds = 0l;
private BigDecimal payAmount;
private String orderType;

View File

@@ -0,0 +1,20 @@
package com.chaozhanggui.system.cashierservice.entity.vo;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class ShopUserListVo {
private Long memberId;
private Long shopId;
private String shopName;
private String chainName;
private String logo;
private String detail;
private BigDecimal levelConsume;
private BigDecimal amount;
private String code;
private Integer isVip;
}