Quellcode durchsuchen

修改华泰财险影像上传

wks vor 1 Jahr
Ursprung
Commit
a86dcfc5dc

+ 14 - 12
src/main/java/com/ydtech/modules/order/components/huatai/HuiTaiUploadImageComponents.java

@@ -10,6 +10,7 @@ import lombok.AllArgsConstructor;
 import lombok.Data;
 import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
+import org.springframework.core.io.FileSystemResource;
 import org.springframework.http.*;
 import org.springframework.stereotype.Component;
 import org.springframework.util.LinkedMultiValueMap;
@@ -68,7 +69,7 @@ public class HuiTaiUploadImageComponents {
         }
 
         HuaTaiImageInitParamResponse initParamResponse = initParam(domain, token);
-        List<HuaTaiImageInitParamResponse.TypeSelectVosDTO.ChildrenDTO> childrenDTO = initParamResponse.getChildrenDTO();
+        List<HuaTaiImageInitParamResponse.TypeTreeNodeVoDTO.ChildrenDTO> childrenDTO = initParamResponse.getChildrenDTO();
         // 使用map 存储上传类型和图片
         Map<String, String> map = new HashMap<>();
         for (InsUploadImagesDto insUploadImagesDto : insUploadImagesDtos) {
@@ -81,9 +82,9 @@ public class HuiTaiUploadImageComponents {
                 boolean contains = Arrays.asList(fileTypeEnum.getImagesType()).contains(imageType);
                 if (contains) {
                     try {
-                        HuaTaiImageInitParamResponse.TypeSelectVosDTO.ChildrenDTO childrenDTO1 =
+                        HuaTaiImageInitParamResponse.TypeTreeNodeVoDTO.ChildrenDTO childrenDTO1 =
                                 HuaTaiImageInitParamResponse.filteringTypeCode(childrenDTO, fileTypeEnum.getCode());
-                        FileuploadResult fileupload = fileupload(domain, token, initParamResponse, insUploadImagesDto.getFilePath(), file);
+                        FileuploadResult fileupload = fileupload(domain, token, childrenDTO1, insUploadImagesDto.getFilePath(), file, initParamResponse.getStorageType());
                         saveFileIdx(domain, token, initParamResponse, fileupload, fileName, childrenDTO1);
                         map.put(insUploadImagesDto.getImageType(), insUploadImagesDto.getImageId());
                     } catch (Exception e) {
@@ -111,6 +112,7 @@ public class HuiTaiUploadImageComponents {
         // token
         HttpHeaders httpHeaders = new HttpHeaders();
         httpHeaders.setContentType(MediaType.APPLICATION_JSON);
+        httpHeaders.setAccept(Collections.singletonList(MediaType.APPLICATION_JSON));
         String initParamUrl = domain + INIT_PARAM + System.currentTimeMillis() + "&token=" + token;
         HttpEntity<Map<String, Object>> httpEntity = new HttpEntity<>(new HashMap<>(), httpHeaders);
         ResponseEntity<HuaTaiImageInitParamResponse> response = restTemplate.exchange(initParamUrl, HttpMethod.GET, httpEntity,
@@ -123,8 +125,8 @@ public class HuiTaiUploadImageComponents {
      *
      * @return 文件路劲
      */
-    private FileuploadResult fileupload(String domain, String token, HuaTaiImageInitParamResponse initParamResponse, String path,
-                                        String fileName) {
+    private FileuploadResult fileupload(String domain, String token, HuaTaiImageInitParamResponse.TypeTreeNodeVoDTO.ChildrenDTO childrenDTO, String path,
+                                        String fileName, String storageType) {
         File file = new File(path);
         byte[] bytes = file2byte(file);
         double v = (double) bytes.length / 1024;
@@ -133,17 +135,17 @@ public class HuiTaiUploadImageComponents {
         httpHeaders.setContentType(MediaType.MULTIPART_FORM_DATA);
 
         MultiValueMap<String, Object> body = new LinkedMultiValueMap<>();
-        body.set("file", bytes);
+        body.set("file", new FileSystemResource(file));
         body.set("token", token);
-        body.set("bussModule", initParamResponse.getBussType());
-        body.set("bussNo", initParamResponse.getBussNo());
+        body.set("bussModule", childrenDTO.getBussType());
+        body.set("bussNo", childrenDTO.getBussNo());
         body.set("fileName", fileName);
         body.set("saveFileName", fileName);
-        body.set("bucket", initParamResponse.getBucket());
-        body.set("storageType", initParamResponse.getStorageType());
+        body.set("bucket", childrenDTO.getBucket());
+        body.set("storageType", storageType);
         // token
         // 文件名称
-        HttpEntity<MultiValueMap<String, Object> > httpEntity = new HttpEntity<>(body, httpHeaders);
+        HttpEntity<MultiValueMap<String, Object>> httpEntity = new HttpEntity<>(body, httpHeaders);
         String fileuploadUrl = domain + FILE_UPLOAD;
         ResponseEntity<String> response = restTemplate.postForEntity(fileuploadUrl, httpEntity, String.class);
         return new FileuploadResult(response.getBody(), v);
@@ -160,7 +162,7 @@ public class HuiTaiUploadImageComponents {
      */
     private void saveFileIdx(String domain, String token, HuaTaiImageInitParamResponse response, FileuploadResult fileupload,
                              String fileName,
-                             HuaTaiImageInitParamResponse.TypeSelectVosDTO.ChildrenDTO childrenDTO) {
+                             HuaTaiImageInitParamResponse.TypeTreeNodeVoDTO.ChildrenDTO childrenDTO) {
         HuaTaiSaveFileIdxRequest huaTaiSaveFileIdxRequest = new HuaTaiSaveFileIdxRequest(token, response, fileupload, fileName,
                 childrenDTO);
         huaTaiSaveFileIdxRequest.getFileIdxVo().setImgId(System.currentTimeMillis());

+ 29 - 69
src/main/java/com/ydtech/modules/order/entity/api/huatai/request/HuaTaiSaveFileIdxRequest.java

@@ -4,155 +4,120 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 import com.ydtech.modules.order.components.huatai.HuiTaiUploadImageComponents;
 import com.ydtech.modules.order.entity.api.huatai.response.HuaTaiImageInitParamResponse;
 import lombok.Data;
+import lombok.NoArgsConstructor;
 
+@NoArgsConstructor
 @Data
 public class HuaTaiSaveFileIdxRequest {
 
     @JsonProperty("token")
     private String token;
-
     @JsonProperty("fileIdxVo")
     private FileIdxVoDTO fileIdxVo;
-
     @JsonProperty("validFlag")
-    private String validFlag;
-
+    private Integer validFlag;
 
     public HuaTaiSaveFileIdxRequest(String token, HuaTaiImageInitParamResponse response, HuiTaiUploadImageComponents.FileuploadResult fileupload, String fileName,
-                                    HuaTaiImageInitParamResponse.TypeSelectVosDTO.ChildrenDTO childrenDTO) {
+                                    HuaTaiImageInitParamResponse.TypeTreeNodeVoDTO.ChildrenDTO childrenDTO) {
         this.token = token;
         this.fileIdxVo = new FileIdxVoDTO(response, fileupload, fileName, childrenDTO);
-        this.validFlag = "1";
+        this.validFlag = 1;
     }
 
+    @NoArgsConstructor
     @Data
     public static class FileIdxVoDTO {
-
         @JsonProperty("rotate")
         private Integer rotate;
-
         @JsonProperty("rotateStart")
         private Integer rotateStart;
-
         @JsonProperty("optionFlag")
         private Integer optionFlag;
-
         @JsonProperty("imgId")
         private Long imgId;
-
         @JsonProperty("createTime")
         private Long createTime;
-
         @JsonProperty("createUser")
         private String createUser;
-
         @JsonProperty("createUserName")
         private String createUserName;
-
-        @JsonProperty("appSource")
-        private String appSource;
-
         @JsonProperty("docId")
-        private Integer docId;
-
+        private Long docId;
         @JsonProperty("bussNo")
         private String bussNo;
-
         @JsonProperty("bussType")
         private String bussType;
-
         @JsonProperty("bussTypeName")
         private String bussTypeName;
-
         @JsonProperty("riskCode")
         private String riskCode;
-
         @JsonProperty("riskCodeName")
         private String riskCodeName;
-
         @JsonProperty("comCode")
         private String comCode;
-
-        @JsonProperty("comName")
-        private String comName;
-
-        @JsonProperty("bussDate")
-        private String bussDate;
-
         @JsonProperty("validFlag")
         private Integer validFlag;
-
         @JsonProperty("uploadNode")
         private String uploadNode;
-
         @JsonProperty("appendPath")
         private String appendPath;
-
         @JsonProperty("editable")
         private Boolean editable;
-
         @JsonProperty("deletable")
         private Boolean deletable;
-
         @JsonProperty("voType")
         private String voType;
-
         @JsonProperty("archType")
         private String archType;
-
+        @JsonProperty("region")
+        private String region;
         @JsonProperty("picFileFlag")
         private Integer picFileFlag;
-
         @JsonProperty("fileSize")
         private Double fileSize;
-
         @JsonProperty("fileSizeFormat")
         private String fileSizeFormat;
-
         @JsonProperty("fileOrgName")
         private String fileOrgName;
-
         @JsonProperty("fileTitle")
         private String fileTitle;
-
         @JsonProperty("fileName")
         private String fileName;
-
+        @JsonProperty("saveType")
+        private String saveType;
+        @JsonProperty("fileHashCode")
+        private String fileHashCode;
+        @JsonProperty("shootModel")
+        private String shootModel;
+        @JsonProperty("shootTime")
+        private String shootTime;
+        @JsonProperty("Orientation")
+        private Integer orientation;
         @JsonProperty("typePath")
         private String typePath;
-
         @JsonProperty("typePathName")
         private String typePathName;
-
         @JsonProperty("typeName")
         private String typeName;
-
+        @JsonProperty("dstKey")
+        private String dstKey;
         @JsonProperty("picMaxSize")
         private Integer picMaxSize;
-
         @JsonProperty("picQuality")
         private Integer picQuality;
-
         @JsonProperty("error")
         private Integer error;
-
-        @JsonProperty("checked")
-        private Boolean checked;
-
         @JsonProperty("uploadStatus")
         private Integer uploadStatus;
-
         @JsonProperty("showIdx")
         private Integer showIdx;
-
         @JsonProperty("uploadTime")
         private Integer uploadTime;
-
         @JsonProperty("storageType")
         private String storageType;
 
         public FileIdxVoDTO(HuaTaiImageInitParamResponse response, HuiTaiUploadImageComponents.FileuploadResult fileupload, String fileName,
-                            HuaTaiImageInitParamResponse.TypeSelectVosDTO.ChildrenDTO childrenDTO) {
+                            HuaTaiImageInitParamResponse.TypeTreeNodeVoDTO.ChildrenDTO childrenDTO) {
             this.rotate = 0;
             this.rotateStart = 0;
             this.optionFlag = 2;
@@ -161,23 +126,20 @@ public class HuaTaiSaveFileIdxRequest {
             // 初始化的时候获取参数
             this.createUser = response.getOptUserId();
             this.createUserName = response.getOptUserName();
-            this.appSource = response.getAppSource();
-            this.docId = response.getDocId();
-            this.bussNo = response.getBussNo();
-            this.bussType = response.getBussType();
-            this.bussTypeName = response.getBussTypeName();
-            this.riskCode = response.getRiskCode();
-            this.riskCodeName = response.getRiskCodeName();
+            this.docId = childrenDTO.getDocId();
+            this.bussNo = childrenDTO.getBussNo();
+            this.bussType = childrenDTO.getBussType();
+            this.bussTypeName = childrenDTO.getBussTypeName();
+            this.riskCode = childrenDTO.getRiskCode();
+            this.riskCodeName = childrenDTO.getRiskCodeName();
             this.comCode = response.getComCode();
-            this.comName = response.getComName();
-            this.bussDate = response.getBussDate();
             this.validFlag = 1;
             this.uploadNode = response.getUploadNode();
             this.appendPath = fileupload.getFilePath().substring(0,fileupload.getFilePath().lastIndexOf("/")+1);
             this.editable = true;
             this.deletable = true;
             this.voType = "C";
-            this.archType = response.getArchType();
+            this.archType = childrenDTO.getArchType();
 
             this.picFileFlag = 1;
             this.fileSize = fileupload.getFileSize();
@@ -190,7 +152,6 @@ public class HuaTaiSaveFileIdxRequest {
             this.fileOrgName = uuidLower + substring;
 
             this.fileName = fileupload.getFilePath().substring(fileupload.getFilePath().lastIndexOf("/")+1);;
-
             this.typePath = childrenDTO.getTypePath();
             this.typePathName = childrenDTO.getTypePathName();
             this.typeName = childrenDTO.getLabel();
@@ -205,5 +166,4 @@ public class HuaTaiSaveFileIdxRequest {
         }
 
     }
-
 }

+ 85 - 194
src/main/java/com/ydtech/modules/order/entity/api/huatai/response/HuaTaiImageInitParamResponse.java

@@ -14,126 +14,95 @@ public class HuaTaiImageInitParamResponse {
 
     @JsonProperty("accessKeyVo")
     private AccessKeyVoDTO accessKeyVo;
-
+    @JsonProperty("addTagPower")
+    private Integer addTagPower;
     @JsonProperty("appSource")
     private String appSource;
-
-    @JsonProperty("archType")
-    private String archType;
-
-    @JsonProperty("arriveNotify")
-    private Integer arriveNotify;
-
-    @JsonProperty("bucket")
-    private String bucket;
-
-    @JsonProperty("bussDate")
-    private String bussDate;
-
-    @JsonProperty("bussNo")
-    private String bussNo;
-
-    @JsonProperty("bussType")
-    private String bussType;
-
-    @JsonProperty("bussTypeName")
-    private String bussTypeName;
-
     @JsonProperty("comCode")
     private String comCode;
-
-    @JsonProperty("comName")
-    private String comName;
-
-    @JsonProperty("docId")
-    private Integer docId;
-
     @JsonProperty("documentFile")
     private String documentFile;
-
-    @JsonProperty("dstKey")
-    private String dstKey;
-
-    @JsonProperty("extendInfo")
-    private Object extendInfo;
-
+    @JsonProperty("downloadPower")
+    private Integer downloadPower;
+    @JsonProperty("fileServerUrl")
+    private String fileServerUrl;
+    @JsonProperty("firstBussNo")
+    private String firstBussNo;
+    @JsonProperty("firstBussType")
+    private String firstBussType;
+    @JsonProperty("firstRiskCode")
+    private String firstRiskCode;
+    @JsonProperty("imgRoot")
+    private String imgRoot;
     @JsonProperty("imgVersion")
     private String imgVersion;
-
     @JsonProperty("initTime")
     private Long initTime;
-
+    @JsonProperty("itemCodeMap")
+    private ItemCodeMapDTO itemCodeMap;
     @JsonProperty("maxFileSize")
     private Integer maxFileSize;
-
     @JsonProperty("maxShowIdx")
     private Double maxShowIdx;
-
     @JsonProperty("maxUnUploadNum")
     private Integer maxUnUploadNum;
-
     @JsonProperty("mediaFile")
     private String mediaFile;
-
     @JsonProperty("netType")
     private String netType;
-
     @JsonProperty("optUserId")
     private String optUserId;
-
     @JsonProperty("optUserName")
     private String optUserName;
-
+    @JsonProperty("othMainVos")
+    private List<?> othMainVos;
     @JsonProperty("pictureFile")
     private String pictureFile;
-
-    @JsonProperty("riskCode")
-    private String riskCode;
-
-    @JsonProperty("riskCodeName")
-    private String riskCodeName;
-
+    @JsonProperty("region")
+    private String region;
     @JsonProperty("showDelete")
     private Integer showDelete;
-
-    @JsonProperty("showImgType")
-    private Object showImgType;
-
+    @JsonProperty("showImgTag")
+    private Integer showImgTag;
+    @JsonProperty("showSusTag")
+    private Integer showSusTag;
+    @JsonProperty("showUpload")
+    private Integer showUpload;
+    @JsonProperty("showUserImg")
+    private Integer showUserImg;
     @JsonProperty("storageType")
     private String storageType;
-
     @JsonProperty("supportFileTypes")
     private String supportFileTypes;
-
+    @JsonProperty("tagVos")
+    private List<?> tagVos;
     @JsonProperty("token")
     private String token;
-
-    @JsonProperty("typeSelectVos")
-    private List<TypeSelectVosDTO> typeSelectVos;
-
     @JsonProperty("typeTreeNodeVo")
     private TypeTreeNodeVoDTO typeTreeNodeVo;
-
     @JsonProperty("typeTreeNodeVos")
-    private Object typeTreeNodeVos;
-
+    private List<?> typeTreeNodeVos;
     @JsonProperty("uploadNode")
     private String uploadNode;
 
     @JsonProperty("uploadedFileList")
-    private List<String> uploadedFileList;
-
-    @JsonProperty("viewShowType")
-    private String viewShowType;
-
+    private List<?> uploadedFileList;
     @JsonProperty("viewType")
     private String viewType;
 
-    public List<TypeSelectVosDTO.ChildrenDTO> getChildrenDTO() {
-        return this.getTypeSelectVos().stream().map(TypeSelectVosDTO::getChildren).flatMap(List::stream).collect(Collectors.toList());
+    @JsonProperty("uploadNodeMap")
+    private UploadNodeMapDTO uploadNodeMapDTO;
+
+    public List<TypeTreeNodeVoDTO.ChildrenDTO> getChildrenDTO() {
+        return this.getTypeTreeNodeVo().getChildren()
+                .stream()
+                .map(TypeTreeNodeVoDTO.ChildrenDTO::getChildren)
+                .filter(children -> children != null && !children.isEmpty())
+                .flatMap(List::stream)
+                .collect(Collectors.toList());
     }
 
-    public static TypeSelectVosDTO.ChildrenDTO filteringTypeCode(List<TypeSelectVosDTO.ChildrenDTO> list, String typeCode){
+    public static TypeTreeNodeVoDTO.ChildrenDTO filteringTypeCode(List<TypeTreeNodeVoDTO.ChildrenDTO> list, String typeCode) {
         return list.stream().filter(x -> x.getTypeCode().equals(typeCode)).collect(Collectors.toList()).get(0);
     }
 
@@ -144,127 +113,22 @@ public class HuaTaiImageInitParamResponse {
         private String accessKeyId;
         @JsonProperty("accessKeySecret")
         private String accessKeySecret;
-        @JsonProperty("endpoint")
-        private Object endpoint;
-        @JsonProperty("ossRegion")
-        private String ossRegion;
-        @JsonProperty("token")
-        private String token;
     }
 
     @NoArgsConstructor
     @Data
-    public static class TypeTreeNodeVoDTO {
-        @JsonProperty("acceptDragDrop")
-        private Integer acceptDragDrop;
-        @JsonProperty("archType")
-        private String archType;
-        @JsonProperty("bussNo")
-        private String bussNo;
-        @JsonProperty("bussType")
-        private String bussType;
-        @JsonProperty("bussTypeName")
-        private String bussTypeName;
-        @JsonProperty("children")
-        private List<ChildrenDTO> children;
-        @JsonProperty("count")
-        private Integer count;
-        @JsonProperty("docId")
-        private Integer docId;
-        @JsonProperty("docMaxSize")
-        private Integer docMaxSize;
-        @JsonProperty("label")
-        private String label;
-        @JsonProperty("limitSumCount")
-        private Integer limitSumCount;
-        @JsonProperty("lockFlag")
-        private Integer lockFlag;
-        @JsonProperty("medMaxSize")
-        private Integer medMaxSize;
-        @JsonProperty("nodeType")
-        private String nodeType;
-        @JsonProperty("parentTypeCode")
-        private Object parentTypeCode;
-        @JsonProperty("picMaxSize")
-        private Integer picMaxSize;
-        @JsonProperty("picQuality")
-        private Integer picQuality;
-        @JsonProperty("readable")
-        private Integer readable;
-        @JsonProperty("riskCode")
-        private String riskCode;
-        @JsonProperty("riskCodeName")
-        private String riskCodeName;
-        @JsonProperty("typeCode")
-        private String typeCode;
-        @JsonProperty("typePath")
-        private Object typePath;
-        @JsonProperty("typePathName")
-        private Object typePathName;
-        @JsonProperty("writable")
-        private Integer writable;
-
-        @NoArgsConstructor
-        @Data
-        public static class ChildrenDTO {
-            @JsonProperty("acceptDragDrop")
-            private Integer acceptDragDrop;
-            @JsonProperty("archType")
-            private Object archType;
-            @JsonProperty("bussNo")
-            private Object bussNo;
-            @JsonProperty("bussType")
-            private Object bussType;
-            @JsonProperty("bussTypeName")
-            private Object bussTypeName;
-            @JsonProperty("children")
-            private Object children;
-            @JsonProperty("count")
-            private Integer count;
-            @JsonProperty("docId")
-            private Object docId;
-            @JsonProperty("docMaxSize")
-            private Integer docMaxSize;
-            @JsonProperty("label")
-            private String label;
-            @JsonProperty("limitSumCount")
-            private Integer limitSumCount;
-            @JsonProperty("lockFlag")
-            private Integer lockFlag;
-            @JsonProperty("medMaxSize")
-            private Integer medMaxSize;
-            @JsonProperty("nodeType")
-            private String nodeType;
-            @JsonProperty("parentTypeCode")
-            private String parentTypeCode;
-            @JsonProperty("picMaxSize")
-            private Integer picMaxSize;
-            @JsonProperty("picQuality")
-            private Integer picQuality;
-            @JsonProperty("readable")
-            private Integer readable;
-            @JsonProperty("riskCode")
-            private Object riskCode;
-            @JsonProperty("riskCodeName")
-            private Object riskCodeName;
-            @JsonProperty("typeCode")
-            private String typeCode;
-            @JsonProperty("typePath")
-            private Object typePath;
-            @JsonProperty("typePathName")
-            private Object typePathName;
-            @JsonProperty("writable")
-            private Integer writable;
-        }
+    public static class ItemCodeMapDTO {
     }
 
     @NoArgsConstructor
     @Data
-    public static class TypeSelectVosDTO {
+    public static class TypeTreeNodeVoDTO {
         @JsonProperty("acceptDragDrop")
         private Integer acceptDragDrop;
         @JsonProperty("archType")
         private String archType;
+        @JsonProperty("bucket")
+        private String bucket;
         @JsonProperty("bussNo")
         private String bussNo;
         @JsonProperty("bussType")
@@ -276,11 +140,17 @@ public class HuaTaiImageInitParamResponse {
         @JsonProperty("count")
         private Integer count;
         @JsonProperty("docId")
-        private Integer docId;
+        private Long docId;
         @JsonProperty("docMaxSize")
         private Integer docMaxSize;
+        @JsonProperty("dstKey")
+        private String dstKey;
         @JsonProperty("label")
         private String label;
+        @JsonProperty("labelEn")
+        private String labelEn;
+        @JsonProperty("limitMinCount")
+        private Integer limitMinCount;
         @JsonProperty("limitSumCount")
         private Integer limitSumCount;
         @JsonProperty("lockFlag")
@@ -289,24 +159,20 @@ public class HuaTaiImageInitParamResponse {
         private Integer medMaxSize;
         @JsonProperty("nodeType")
         private String nodeType;
-        @JsonProperty("parentTypeCode")
-        private String parentTypeCode;
         @JsonProperty("picMaxSize")
         private Integer picMaxSize;
         @JsonProperty("picQuality")
         private Integer picQuality;
         @JsonProperty("readable")
         private Integer readable;
+        @JsonProperty("renameByTypeName")
+        private String renameByTypeName;
         @JsonProperty("riskCode")
         private String riskCode;
         @JsonProperty("riskCodeName")
         private String riskCodeName;
         @JsonProperty("typeCode")
         private String typeCode;
-        @JsonProperty("typePath")
-        private String typePath;
-        @JsonProperty("typePathName")
-        private String typePathName;
         @JsonProperty("writable")
         private Integer writable;
 
@@ -317,22 +183,28 @@ public class HuaTaiImageInitParamResponse {
             private Integer acceptDragDrop;
             @JsonProperty("archType")
             private String archType;
+            @JsonProperty("bucket")
+            private String bucket;
             @JsonProperty("bussNo")
             private String bussNo;
             @JsonProperty("bussType")
             private String bussType;
             @JsonProperty("bussTypeName")
             private String bussTypeName;
-            @JsonProperty("children")
-            private Object children;
             @JsonProperty("count")
             private Integer count;
             @JsonProperty("docId")
-            private Integer docId;
+            private Long docId;
             @JsonProperty("docMaxSize")
             private Integer docMaxSize;
+            @JsonProperty("dstKey")
+            private String dstKey;
             @JsonProperty("label")
             private String label;
+            @JsonProperty("labelEn")
+            private String labelEn;
+            @JsonProperty("limitMinCount")
+            private Integer limitMinCount;
             @JsonProperty("limitSumCount")
             private Integer limitSumCount;
             @JsonProperty("lockFlag")
@@ -341,6 +213,8 @@ public class HuaTaiImageInitParamResponse {
             private Integer medMaxSize;
             @JsonProperty("nodeType")
             private String nodeType;
+            @JsonProperty("parenTypeVo")
+            private ParenTypeVoDTO parenTypeVo;
             @JsonProperty("parentTypeCode")
             private String parentTypeCode;
             @JsonProperty("picMaxSize")
@@ -349,6 +223,8 @@ public class HuaTaiImageInitParamResponse {
             private Integer picQuality;
             @JsonProperty("readable")
             private Integer readable;
+            @JsonProperty("renameByTypeName")
+            private String renameByTypeName;
             @JsonProperty("riskCode")
             private String riskCode;
             @JsonProperty("riskCodeName")
@@ -361,6 +237,21 @@ public class HuaTaiImageInitParamResponse {
             private String typePathName;
             @JsonProperty("writable")
             private Integer writable;
+            @JsonProperty("children")
+            private List<ChildrenDTO> children;
+
+            @NoArgsConstructor
+            @Data
+            public static class ParenTypeVoDTO {
+            }
+
+
         }
+
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class UploadNodeMapDTO {
     }
-}
+}