超市统计订正
This commit is contained in:
@ -57,8 +57,8 @@ public class StoreOrderCountJob implements JobHandler {
|
||||
String formattedDate = previousDate.format(formatter);
|
||||
|
||||
List<StoreOrderCountVO> storeOrderCountVOS = storeOrderService.countOrder(formattedDate, formattedDate);
|
||||
LocalDateTime startOfDay = currentDate.atStartOfDay();
|
||||
LocalDateTime endOfDay = currentDate.atTime(LocalTime.MAX).withNano(0);
|
||||
LocalDateTime startOfDay = previousDate.atStartOfDay();
|
||||
LocalDateTime endOfDay = previousDate.atTime(LocalTime.MAX).withNano(0);
|
||||
BigDecimal zero = BigDecimal.ZERO;
|
||||
for (Long storeId:allStoreId){
|
||||
StoreBusinessDO todayBusiness = storeBusinessMapper.getTodayBusiness(storeId, startOfDay, endOfDay);
|
||||
|
Reference in New Issue
Block a user