From d4b68e6071bc79dc5baeb2ff738ba2f5399d4e37 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sun, 27 Dec 2020 14:04:11 +0800
Subject: [PATCH] modify
---
zq-erp/src/main/java/com/matrix/system/hive/statistics/StatisticsBusinessDataJob.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/zq-erp/src/main/java/com/matrix/system/hive/statistics/StatisticsBusinessDataJob.java b/zq-erp/src/main/java/com/matrix/system/hive/statistics/StatisticsBusinessDataJob.java
index 3d537da..ed112b3 100644
--- a/zq-erp/src/main/java/com/matrix/system/hive/statistics/StatisticsBusinessDataJob.java
+++ b/zq-erp/src/main/java/com/matrix/system/hive/statistics/StatisticsBusinessDataJob.java
@@ -79,7 +79,7 @@
Date today = new Date();
SysBusinessData sysBusinessData = new SysBusinessData();
- sysBusinessData.setTime(today);
+ sysBusinessData.setTime(DateUtil.getDateBefore(today,1));
businessDataDao.deleteByModel(sysBusinessData);
List<SysShopInfo> sysShopInfos = shopInfoDao.selectShopInfo(null);
--
Gitblit v1.9.1