| | |
| | | public class PlusCodeGenerator { |
| | | |
| | | // 数据库配置 |
| | | private static final String DB_URL = "jdbc:postgresql://localhost:5432/ruoyi-zd"; |
| | | private static final String DB_URL = "jdbc:postgresql://192.168.1.35:5432/ruoyi-zd"; |
| | | private static final String DB_USERNAME = "postgres"; |
| | | private static final String DB_PASSWORD = "123456"; |
| | | |
| | |
| | | public static void main(String[] args) { |
| | | String projectPath = System.getProperty("user.dir"); // 获取项目根路径 |
| | | String path = "main-business"; // 模块名称 |
| | | String table = "inspection_task"; // 表名,多个表逗号隔开 |
| | | String author = "ld"; // 作者信息 |
| | | String table = "input_inventory_record,output_inventory_record,inventory_summary"; // 表名,多个表逗号隔开 |
| | | String author = "chenhj"; |
| | | |
| | | // 代码输出路径配置 |
| | | String outputBasePath = Paths.get(projectPath, path, "src", "main", "java").toString(); |