From 86c142d95b6b215b047cbf538a140a480ef4ef3c Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期二, 29 八月 2023 11:55:17 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/SuYuanMapper.xml    |    2 +-
 src/main/java/com/yssh/config/InitConfig.java |    5 +++++
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/yssh/config/InitConfig.java b/src/main/java/com/yssh/config/InitConfig.java
index da2d971..5d7d362 100644
--- a/src/main/java/com/yssh/config/InitConfig.java
+++ b/src/main/java/com/yssh/config/InitConfig.java
@@ -37,6 +37,9 @@
     @Resource
     XlsReportService xlsReportService;
 
+    @Resource
+    ScheduleConfig config;
+
     @Override
     public void run(ApplicationArguments args) throws Exception {
         CacheUtils.init();
@@ -52,6 +55,8 @@
     }
 
     private void test() {
+        //config.corpReserveDataSync();
+
         //task.corpReserveDataSync();
         //warningAnalyseService.warningOperationStorage(cal.getTime());
 
diff --git a/src/main/resources/mapper/SuYuanMapper.xml b/src/main/resources/mapper/SuYuanMapper.xml
index 7b2dc56..a5de542 100644
--- a/src/main/resources/mapper/SuYuanMapper.xml
+++ b/src/main/resources/mapper/SuYuanMapper.xml
@@ -217,7 +217,7 @@
 	</select>
 	
 	<update id="createTable" parameterType="java.lang.String">
-		create table ${tablename}  (
+		create table ${tableName}  (
        	  	`id` varchar(10) not null comment '涓婚敭',
 		  	`x` int(3) null default null,
 		  	`y` int(3) null default null,

--
Gitblit v1.9.3