From f68d79d0ff6658795c19c2fd473fab9ff6f0640d Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 14 三月 2026 13:53:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_宁夏_中盛建材' into dev_宁夏_中盛建材

---
 src/main/java/com/ruoyi/basic/task/CustomerTask.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/basic/task/CustomerTask.java b/src/main/java/com/ruoyi/basic/task/CustomerTask.java
new file mode 100644
index 0000000..53c1976
--- /dev/null
+++ b/src/main/java/com/ruoyi/basic/task/CustomerTask.java
@@ -0,0 +1,18 @@
+package com.ruoyi.basic.task;
+
+import com.ruoyi.basic.service.ICustomerService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.stereotype.Component;
+
+@Component
+public class CustomerTask {
+
+    @Autowired
+    private ICustomerService customerService;
+
+    @Scheduled(cron = "0 0 * * * ?")
+    public void syncCustomerDataJob() {
+        customerService.syncCustomerJob();
+    }
+}

--
Gitblit v1.9.3