Skip to content

Commit 739c222

Browse files
luxiang0412binarywang
authored andcommitted
🆕 #2468【企业微信】获取审批申请详情接口返回数据增加关联审批单控件
1 parent 1bda3ee commit 739c222

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/applydata/ContentValue.java

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public class ContentValue implements Serializable {
3535

3636
private List<ContentValue.Child> children;
3737

38+
@SerializedName("related_approval")
39+
private List<RelatedApproval> relatedApproval;
40+
3841
private Attendance attendance;
3942

4043
private Vacation vacation;
@@ -124,4 +127,43 @@ public static class Vacation implements Serializable {
124127
private Attendance attendance;
125128
}
126129

130+
/**
131+
* 关联审批单控件
132+
*/
133+
@Data
134+
public static class RelatedApproval implements Serializable{
135+
private static final long serialVersionUID = 8629601623267510738L;
136+
/**
137+
*关联审批单的模板名
138+
*/
139+
@SerializedName("template_names")
140+
private List<TemplateName> templateNames;
141+
/**
142+
* 关联审批单的状态
143+
*/
144+
@SerializedName("sp_status")
145+
private Integer spStatus;
146+
/**
147+
* 关联审批单的提单者
148+
*/
149+
private String name;
150+
/**
151+
* 关联审批单的提单时间
152+
*/
153+
@SerializedName("create_time")
154+
private Long createTime;
155+
/**
156+
* 关联审批单的审批单号
157+
*/
158+
@SerializedName("sp_no")
159+
private String spNo;
160+
}
161+
162+
@Data
163+
public static class TemplateName implements Serializable{
164+
private static final long serialVersionUID = 3152481506054355937L;
165+
private String text;
166+
private String lang;
167+
}
168+
127169
}

0 commit comments

Comments
 (0)