From de70d21d8dea3e8ae972722456e3e8223a798ae5 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 12 七月 2024 18:26:28 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 server/admin/src/main/java/com/doumee/timer/init/InitBizService.java |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/server/admin/src/main/java/com/doumee/timer/init/InitBizService.java b/server/admin/src/main/java/com/doumee/timer/init/InitBizService.java
new file mode 100644
index 0000000..2e352e1
--- /dev/null
+++ b/server/admin/src/main/java/com/doumee/timer/init/InitBizService.java
@@ -0,0 +1,38 @@
+package com.doumee.timer.init;
+
+import com.doumee.biz.system.SystemDictDataBiz;
+import com.doumee.core.utils.Constants;
+import com.doumee.service.business.InitService;
+import com.doumee.service.business.ShopService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Lazy;
+import org.springframework.data.redis.core.RedisTemplate;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.PostConstruct;
+
+/**
+ * 蹇楅偊缁勭粐淇℃伅琛⊿ervice瀹炵幇
+ * @author 姹熻箘韫�
+ * @date 2024/07/04 14:40
+ */
+@Service
+public class InitBizService {
+
+    @Autowired
+    @Lazy
+    private InitService initService;
+
+    @PostConstruct
+    public void clearImporting(){
+        initService.clearImporting();
+    }
+    @PostConstruct
+    public void refreshZbomDictDataCache(){
+        initService.refreshZbomDictDataCache();
+    }
+    @PostConstruct
+    public void cacheShopTree(){
+//        redisTemplate.opsForValue().set(Constants.RedisKeys.SHOP_TREE,shopService.shopTree(null));
+    }
+}

--
Gitblit v1.9.3