Skip to content

【企业微信】获取审批申请详情接口返回数据增加关联审批单控件 #2468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}

}