| | |
| | | @Schema(description = "回头率") |
| | | private String rebackRate; |
| | | |
| | | @Schema(description = "销售金额") |
| | | private java.math.BigDecimal totalAmount; |
| | | |
| | | |
| | | |
| | | @Schema(description = "加油位") |
| | |
| | | |
| | | @Schema(description = "车型") |
| | | private String modelName; |
| | | |
| | | @Schema(description = "油品类型") |
| | | private String oilType; |
| | | |
| | | @Schema(description = "时间轴") |
| | | private LocalDateTime statTime; |
| | |
| | | this.sumSpand += sumSpand; |
| | | } |
| | | |
| | | public void addTotalAmount(java.math.BigDecimal totalAmount) { |
| | | if (this.totalAmount == null) { |
| | | this.totalAmount = java.math.BigDecimal.ZERO; |
| | | } |
| | | if (totalAmount != null) { |
| | | this.totalAmount = this.totalAmount.add(totalAmount); |
| | | } |
| | | } |
| | | |
| | | public java.math.BigDecimal getTotalAmount() { |
| | | if (totalAmount == null) { |
| | | totalAmount = java.math.BigDecimal.ZERO; |
| | | } |
| | | return totalAmount; |
| | | } |
| | | |
| | | public int getSpandAvg() { |
| | | if (spandAvg == null) { |
| | | spandAvg = appearCount == 0 ? 0 : sumSpand / appearCount; |