修改打印数据
This commit is contained in:
@@ -21,6 +21,8 @@ public class HandoverInfo implements Serializable {
|
||||
|
||||
private List<MemberData> memberData;
|
||||
|
||||
private List<ProductCategory> productCategories;
|
||||
|
||||
private String totalAmount;
|
||||
|
||||
|
||||
@@ -34,7 +36,10 @@ public class HandoverInfo implements Serializable {
|
||||
|
||||
private String orderNum;
|
||||
|
||||
public HandoverInfo(String merchantName, String startTime, String endTime, String staff, List<PayInfo> payInfos, List<HandoverInfo.MemberData> memberData, String totalAmount, String imprest, String payable, String handIn, String returnAmount,String orderNum) {
|
||||
public HandoverInfo(String merchantName, String startTime, String endTime, String staff, List<PayInfo> payInfos, List<HandoverInfo.MemberData> memberData, String totalAmount, String imprest, String payable, String handIn, String returnAmount,String orderNum
|
||||
,List<ProductCategory> productCategories
|
||||
|
||||
) {
|
||||
this.merchantName = merchantName;
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
@@ -47,6 +52,7 @@ public class HandoverInfo implements Serializable {
|
||||
this.handIn = handIn;
|
||||
this.returnAmount=returnAmount;
|
||||
this.orderNum = orderNum;
|
||||
this.productCategories=productCategories;
|
||||
}
|
||||
|
||||
@Data
|
||||
@@ -72,4 +78,19 @@ public class HandoverInfo implements Serializable {
|
||||
this.deposit = deposit;
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class ProductCategory{
|
||||
private String categoryName;
|
||||
|
||||
private String num;
|
||||
|
||||
private String amount;
|
||||
|
||||
public ProductCategory(String categoryName, String num, String amount) {
|
||||
this.categoryName = categoryName;
|
||||
this.num = num;
|
||||
this.amount = amount;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user