mirror of https://gitee.com/xiaonuobase/snowy
【更新】修复 #I60MMT 执行代码生成(项目内)后端地址判断错误的bug
parent
24bd54b0ef
commit
14808f7597
|
@ -356,7 +356,7 @@ public class GenBasicServiceImpl extends ServiceImpl<GenBasicMapper, GenBasic> i
|
|||
String genProjectBackendPath = System.getProperty("user.dir") + File.separator + GEN_PROJECT_PLUGIN_BIZ_KEY + File.separator + "src" +
|
||||
File.separator + "main" + File.separator + "java";
|
||||
|
||||
if(!FileUtil.exist(genProjectFrontendPath)) {
|
||||
if(!FileUtil.exist(genProjectBackendPath)) {
|
||||
throw new CommonException("后端代码生成位置:{}不存在,请检查位置", genProjectBackendPath);
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -25,7 +25,7 @@ spring.servlet.multipart.max-file-size=100MB
|
|||
spring.datasource.dynamic.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
spring.datasource.dynamic.datasource.master.url=jdbc:mysql://localhost:3306/snowy?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true
|
||||
spring.datasource.dynamic.datasource.master.username=root
|
||||
spring.datasource.dynamic.datasource.master.password=123456
|
||||
spring.datasource.dynamic.datasource.master.password=12345678
|
||||
spring.datasource.dynamic.strict=true
|
||||
|
||||
# oracle
|
||||
|
|
Loading…
Reference in New Issue