台桌统计
This commit is contained in:
@@ -33,8 +33,8 @@ public class TableSummaryExportVo implements Serializable {
|
||||
/**
|
||||
* 台桌+日期
|
||||
*/
|
||||
// @ExcelIgnore
|
||||
// private String tableConcatDate;
|
||||
@ExcelIgnore
|
||||
private String tableConcatDate;
|
||||
/**
|
||||
* 台桌
|
||||
*/
|
||||
@@ -80,27 +80,27 @@ public class TableSummaryExportVo implements Serializable {
|
||||
/**
|
||||
* 单价
|
||||
*/
|
||||
// @ExcelProperty("单价")
|
||||
// @ColumnWidth(10)
|
||||
// private BigDecimal unitPrice;
|
||||
// /**
|
||||
// * 金额
|
||||
// */
|
||||
// @ExcelProperty("金额")
|
||||
// @ColumnWidth(10)
|
||||
// private BigDecimal amount;
|
||||
@ExcelProperty("单价")
|
||||
@ColumnWidth(10)
|
||||
private BigDecimal unitPrice;
|
||||
/**
|
||||
* 金额
|
||||
*/
|
||||
@ExcelProperty("金额")
|
||||
@ColumnWidth(10)
|
||||
private BigDecimal amount;
|
||||
/**
|
||||
* 销售额
|
||||
*/
|
||||
@ExcelProperty("销售额")
|
||||
@ColumnWidth(10)
|
||||
private BigDecimal salesAmount;
|
||||
// /**
|
||||
// * 总销售额
|
||||
// */
|
||||
// @ExcelProperty("总销售额")
|
||||
// @ColumnWidth(15)
|
||||
// private BigDecimal totalSalesAmount;
|
||||
/**
|
||||
* 总销售额
|
||||
*/
|
||||
@ExcelProperty("总销售额")
|
||||
@ColumnWidth(15)
|
||||
private BigDecimal totalSalesAmount;
|
||||
/**
|
||||
* 退单量
|
||||
*/
|
||||
|
||||
@@ -29,7 +29,6 @@ public class TableSummaryServiceImpl implements TableSummaryService {
|
||||
private ShopTableOrderStatisticMapper shopTableOrderStatisticMapper;
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public List<TableSummaryExportVo> summaryExportList(TableSummaryParam param) {
|
||||
if (param.getBeginDate() == null && param.getEndDate() == null) {
|
||||
@@ -52,6 +51,7 @@ public class TableSummaryServiceImpl implements TableSummaryService {
|
||||
if (CollUtil.isEmpty(list)) {
|
||||
return List.of();
|
||||
}
|
||||
|
||||
// 追加个空行用于处理表格样式
|
||||
TableSummaryExportVo nullVo = new TableSummaryExportVo();
|
||||
list.add(nullVo);
|
||||
|
||||
Reference in New Issue
Block a user