dengsixing 8 月之前
父節點
當前提交
373c7e2f33
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/main/java/com/fdkankan/modeling/service/impl/ReverseE57ServiceImpl.java

+ 5 - 1
src/main/java/com/fdkankan/modeling/service/impl/ReverseE57ServiceImpl.java

@@ -2,6 +2,7 @@ package com.fdkankan.modeling.service.impl;
 
 import cn.hutool.core.util.StrUtil;
 import com.alibaba.fastjson.JSONObject;
+import com.fdkankan.common.constant.CommonStatus;
 import com.fdkankan.common.constant.ModelingBuildStatus;
 import com.fdkankan.common.util.FileUtils;
 import com.fdkankan.model.enums.ModelTypeEnums;
@@ -177,7 +178,10 @@ public class ReverseE57ServiceImpl implements IReverseE57Service {
         String otherType = (String)message.getExt().get("otherType");
         Integer isObj = (Integer) message.getExt().get("isObj");
         if(StrUtil.isNotEmpty(modelType) && ModelTypeEnums.TILE_CODE.equals(modelType)){
-            splitType = "SKYBOX_V15";
+            skyboxType = "SKYBOX_V15";
+        }
+        if(Objects.nonNull(isObj) && isObj == CommonStatus.YES.code().intValue()){
+            splitType = "SPLIT_V30";
         }
 
         this.createProjectAndDataFile(path,num, splitType, skyboxType,otherType,null,null);