Skip to content

Commit

Permalink
🆕 #2468【企业微信】获取审批申请详情接口返回数据增加关联审批单控件
Browse files Browse the repository at this point in the history
  • Loading branch information
luxiang0412 authored and binarywang committed Dec 27, 2021
1 parent 1bda3ee commit 739c222
Showing 1 changed file with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public class ContentValue implements Serializable {

private List<ContentValue.Child> children;

@SerializedName("related_approval")
private List<RelatedApproval> relatedApproval;

private Attendance attendance;

private Vacation vacation;
Expand Down Expand Up @@ -124,4 +127,43 @@ public static class Vacation implements Serializable {
private Attendance attendance;
}

/**
* 关联审批单控件
*/
@Data
public static class RelatedApproval implements Serializable{
private static final long serialVersionUID = 8629601623267510738L;
/**
*关联审批单的模板名
*/
@SerializedName("template_names")
private List<TemplateName> templateNames;
/**
* 关联审批单的状态
*/
@SerializedName("sp_status")
private Integer spStatus;
/**
* 关联审批单的提单者
*/
private String name;
/**
* 关联审批单的提单时间
*/
@SerializedName("create_time")
private Long createTime;
/**
* 关联审批单的审批单号
*/
@SerializedName("sp_no")
private String spNo;
}

@Data
public static class TemplateName implements Serializable{
private static final long serialVersionUID = 3152481506054355937L;
private String text;
private String lang;
}

}

0 comments on commit 739c222

Please sign in to comment.