From 9371ddb1e9a2bce54d2c3e281ba5225b6658ee9a Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Wed, 17 Apr 2024 18:14:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/skcks/wx/official/orm/entity/WxOfficialAccount.java | 2 +- .../src/test/java/cn/skcks/wx/official/orm/OrmGenerator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wx-official-orm/src/main/java/cn/skcks/wx/official/orm/entity/WxOfficialAccount.java b/wx-official-orm/src/main/java/cn/skcks/wx/official/orm/entity/WxOfficialAccount.java index f3b5691..c376fdb 100644 --- a/wx-official-orm/src/main/java/cn/skcks/wx/official/orm/entity/WxOfficialAccount.java +++ b/wx-official-orm/src/main/java/cn/skcks/wx/official/orm/entity/WxOfficialAccount.java @@ -16,7 +16,7 @@ import java.io.Serial; * 设备通道信息 实体类。 * * @author shikong - * @since 2024-04-15 + * @since 2024-04-17 */ @Accessors(chain = true) @Data(staticConstructor = "create") diff --git a/wx-official-orm/src/test/java/cn/skcks/wx/official/orm/OrmGenerator.java b/wx-official-orm/src/test/java/cn/skcks/wx/official/orm/OrmGenerator.java index 8ab8998..3d2c791 100644 --- a/wx-official-orm/src/test/java/cn/skcks/wx/official/orm/OrmGenerator.java +++ b/wx-official-orm/src/test/java/cn/skcks/wx/official/orm/OrmGenerator.java @@ -47,7 +47,7 @@ public class OrmGenerator { //创建配置内容 GlobalConfig globalConfig = new GlobalConfig(); globalConfig.setBasePackage("cn.skcks.wx.official.orm"); - globalConfig.setSourceDir("./wx-official-orm/src/main/java"); + globalConfig.setSourceDir(System.getProperty("user.dir") + "/wx-official-orm/src/main/java"); globalConfig.setAuthor(getGitUserName()); globalConfig.setEntityDataSource("mysql");