Skip to content

Commit

Permalink
Merge pull request #66 from fcfang123/issue-64
Browse files Browse the repository at this point in the history
feat:增加itsm审批单据内容信息 #64
  • Loading branch information
mingshewhe authored Sep 1, 2023
2 parents eded49e + 15c229d commit 74278de
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ext {
set("junitVersion", "5.4.2")

if (System.getProperty("snapshot") == "true") {
set('iamVersion', "1.0.32-SNAPSHOT")
set('iamVersion', "1.0.33-SNAPSHOT")
} else {
set('iamVersion', "1.0.0")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import lombok.Builder;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@Builder
Expand All @@ -33,7 +33,7 @@ public class ApplicationDTO {
@JsonProperty("content_template")
private ItsmContentDTO contentTemplate;
@JsonProperty("group_content")
private HashMap<String, ItsmValue> groupContent;
private Map<String, ItsmValue> groupContent;
@JsonProperty("title_prefix")
private String titlePrefix;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
import lombok.Builder;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Builder
@Data
public class ItsmContentDTO {
private HashMap<String,ItsmScheme> schemes;
private Map<String,ItsmScheme> schemes;
@JsonProperty("form_data")
private List<ItsmValue> formData;
}
4 changes: 2 additions & 2 deletions src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmValue.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
import lombok.Builder;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@Builder
public class ItsmValue {
private String lable;
private String scheme;
private List<HashMap<String, ItsmStyle>> value;
private List<Map<String, ItsmStyle>> value;
}

0 comments on commit 74278de

Please sign in to comment.