From 9faf00bb756e69f24044c251d059f2150772735b Mon Sep 17 00:00:00 2001 From: yangwei <867012372@qq.com> Date: Wed, 9 Apr 2025 12:47:43 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=201=E3=80=81=E4=BF=AE=E6=94=B9=E5=90=84?= =?UTF-8?q?=E5=B1=80panel=E7=9C=8B=E6=9D=BF=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/BusinessAlertStatisticsServiceImpl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dk-modules/business/src/main/java/org/dromara/business/service/impl/BusinessAlertStatisticsServiceImpl.java b/dk-modules/business/src/main/java/org/dromara/business/service/impl/BusinessAlertStatisticsServiceImpl.java index 5304f9f..b58c20c 100644 --- a/dk-modules/business/src/main/java/org/dromara/business/service/impl/BusinessAlertStatisticsServiceImpl.java +++ b/dk-modules/business/src/main/java/org/dromara/business/service/impl/BusinessAlertStatisticsServiceImpl.java @@ -136,6 +136,11 @@ public class BusinessAlertStatisticsServiceImpl implements IBusinessAlertStatist return baseMapper.countAlertCompare(businessAlertBo); } + public static void main(String[] args) { + LocalDate today = LocalDate.now(); + System.out.println( today.toString()); + } + @Override public StatObj countPanelAlert(BusinessAlertBo businessAlertBo) { LocalDate today = LocalDate.now(); @@ -145,7 +150,7 @@ public class BusinessAlertStatisticsServiceImpl implements IBusinessAlertStatist return new StatObj(0, 0,0,0,0,0); } - businessAlertBo.setCreateTime(today.getYear()+"-"+today.getMonthValue()+"-"+today.getDayOfMonth()); + businessAlertBo.setCreateTime(today.toString()); businessAlertBo.setAiLabelEnList(getAiLabel(businessAlertBo.getPostCode()).stream().map(RemoteAiLabelPostVo::getLabelEn).collect(Collectors.toList())); }