Commit ed92197c authored by 赵啸非's avatar 赵啸非

添加区域树

parent a3399413
...@@ -487,9 +487,11 @@ public class SetupProjectController extends BaseCRUDJsonBodyMappingController<Se ...@@ -487,9 +487,11 @@ public class SetupProjectController extends BaseCRUDJsonBodyMappingController<Se
try { try {
//todo 检测是否初始安装,是否已经安装了base-manager,如果没有则进入引导界面进行安装 //todo 检测是否初始安装,是否已经安装了base-manager,如果没有则进入引导界面进行安装
SetupProjectQuery setupProjectQuery = new SetupProjectQuery(); SetupProjectQuery setupProjectQuery = new SetupProjectQuery();
setupProjectQuery.setProjectCode(基础服务.getValue()); setupProjectQuery.setProjectCode("base-manager");
SetupProjectEntity setupProjectEntity = this.service.selectOne(setupProjectQuery); SetupProjectEntity setupProjectEntity = this.service.selectOne(setupProjectQuery);
if (ObjectUtils.isEmpty(setupProjectEntity)) throw new AppException("基础服务不存在"); if (ObjectUtils.isEmpty(setupProjectEntity)){
throw new AppException("基础服务不存在");
}
//判断资源文件是否已经上传 //判断资源文件是否已经上传
String projectPath = this.publishPath + "/temp/project/"; String projectPath = this.publishPath + "/temp/project/";
boolean exist = FileUtil.exist(projectPath); boolean exist = FileUtil.exist(projectPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment