优化了分包结构
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.example.workutils.tool;
|
||||
package com.example.workutils;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package com.example.workutils;
|
||||
|
||||
import com.example.workutils.menu.api.MenuRunner;
|
||||
import com.example.workutils.tool.Tool;
|
||||
import com.example.workutils.tool.ToolRegistry;
|
||||
import com.example.workutils.system.menu.MenuRunner;
|
||||
import com.example.workutils.system.tool.Tool;
|
||||
import com.example.workutils.system.tool.ToolRegistry;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.example.workutils.biz.git.menu;
|
||||
|
||||
import com.example.workutils.biz.git.service.GitService;
|
||||
import com.example.workutils.biz.git.util.GitCommandExecutor;
|
||||
import com.example.workutils.tool.AbstractTool;
|
||||
import com.example.workutils.system.tool.AbstractTool;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.workutils.biz.mybatis.export;
|
||||
|
||||
import com.example.workutils.biz.scanner.config.ScanConfigBO;
|
||||
import com.example.workutils.config.WorkUtilsProperties;
|
||||
import com.example.workutils.system.config.WorkUtilsProperties;
|
||||
import com.example.workutils.biz.mybatis.model.MybatisTagBO;
|
||||
import com.example.workutils.biz.output.OutputService;
|
||||
import com.example.workutils.biz.scanner.service.FileOperationService;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.workutils.biz.mybatis.menu;
|
||||
|
||||
import com.example.workutils.biz.mybatis.generator.MyBatisGeneratorService;
|
||||
import com.example.workutils.tool.AbstractTool;
|
||||
import com.example.workutils.system.tool.AbstractTool;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.workutils.biz.mybatis.menu;
|
||||
|
||||
import com.example.workutils.biz.mybatis.export.MyBatisExportService;
|
||||
import com.example.workutils.tool.AbstractTool;
|
||||
import com.example.workutils.system.tool.AbstractTool;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.example.workutils.biz.output;
|
||||
import com.alibaba.excel.EasyExcel;
|
||||
import com.alibaba.excel.ExcelWriter;
|
||||
import com.alibaba.excel.write.metadata.WriteSheet;
|
||||
import com.example.workutils.config.WorkUtilsProperties;
|
||||
import com.example.workutils.system.config.WorkUtilsProperties;
|
||||
import com.example.workutils.biz.scanner.service.FileOperationService;
|
||||
import com.opencsv.CSVWriter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.example.workutils.biz.output.menu;
|
||||
|
||||
import com.example.workutils.biz.mybatis.export.MyBatisExportService;
|
||||
import com.example.workutils.biz.scanner.service.ScanService;
|
||||
import com.example.workutils.tool.AbstractTool;
|
||||
import com.example.workutils.system.tool.AbstractTool;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.workutils.biz.scanner.menu;
|
||||
|
||||
import com.example.workutils.biz.scanner.service.ScanService;
|
||||
import com.example.workutils.tool.AbstractTool;
|
||||
import com.example.workutils.system.tool.AbstractTool;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.workutils.biz.scanner.service;
|
||||
|
||||
import com.example.workutils.biz.scanner.config.ScanConfigBO;
|
||||
import com.example.workutils.config.WorkUtilsProperties;
|
||||
import com.example.workutils.system.config.WorkUtilsProperties;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.workutils.biz.scanner.service;
|
||||
|
||||
import com.example.workutils.biz.scanner.config.ScanConfigBO;
|
||||
import com.example.workutils.config.WorkUtilsProperties;
|
||||
import com.example.workutils.system.config.WorkUtilsProperties;
|
||||
import com.example.workutils.biz.output.OutputService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.example.workutils.config;
|
||||
package com.example.workutils.system.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
package com.example.workutils.menu.api;
|
||||
package com.example.workutils.system.menu;
|
||||
|
||||
import com.example.workutils.tool.ConsoleHelper;
|
||||
import com.example.workutils.tool.Tool;
|
||||
import com.example.workutils.tool.ToolRegistry;
|
||||
import com.example.workutils.ConsoleHelper;
|
||||
import com.example.workutils.system.tool.Tool;
|
||||
import com.example.workutils.system.tool.ToolRegistry;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
package com.example.workutils.tool;
|
||||
package com.example.workutils.system.tool;
|
||||
|
||||
import com.example.workutils.ConsoleHelper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import java.util.Scanner;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.example.workutils.tool;
|
||||
package com.example.workutils.system.tool;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.example.workutils.tool;
|
||||
package com.example.workutils.system.tool;
|
||||
|
||||
import com.example.workutils.config.WorkUtilsProperties;
|
||||
import com.example.workutils.system.config.WorkUtilsProperties;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -7,20 +7,6 @@ workutils:
|
||||
config-directory: "src/main/resources/config"
|
||||
export-directory: "D:/workspace/workutils/export"
|
||||
project-paths-file: "代码仓库项目路径.txt"
|
||||
# Tool enable/disable config
|
||||
# Option 1: whitelist - only these tools are enabled
|
||||
# tools:
|
||||
# enabled:
|
||||
# - scan
|
||||
# - mybatis
|
||||
# - batch
|
||||
# - git-health
|
||||
# - mybatis-generator
|
||||
# Option 2: blacklist - exclude these tools
|
||||
# tools:
|
||||
# disabled:
|
||||
# - mybatis-generator
|
||||
# Default: all tools enabled
|
||||
|
||||
logging:
|
||||
level:
|
||||
|
||||
Reference in New Issue
Block a user