Skip to content

Commit 786a78e

Browse files
committed
🎨 #3174 【企业微信】批量获取审批单号接口请求中的筛选类型增加审批单类型属性
1 parent 8268fc8 commit 786a78e

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.google.gson.annotations.SerializedName;
44
import lombok.Data;
5+
import lombok.Getter;
56
import me.chanjar.weixin.common.util.json.WxGsonBuilder;
67

78
import java.io.Serializable;
@@ -21,7 +22,7 @@ public class WxCpApprovalInfoQueryFilter implements Serializable {
2122

2223
private static final long serialVersionUID = 3318064927980231802L;
2324

24-
private WxCpApprovalInfoQueryFilter.KEY key;
25+
private KEY key;
2526

2627
private Object value;
2728

@@ -37,6 +38,7 @@ public String toJson() {
3738
/**
3839
* The enum Key.
3940
*/
41+
@Getter
4042
public enum KEY {
4143

4244
/**
@@ -58,7 +60,12 @@ public enum KEY {
5860
* sp_status - 审批状态。
5961
*/
6062
@SerializedName("sp_status")
61-
SP_STATUS("sp_status");
63+
SP_STATUS("sp_status"),
64+
/**
65+
* record_type - 审批单类型属性,1-请假;2-打卡补卡;3-出差;4-外出;5-加班; 6- 调班;7-会议室预定;8-退款审批;9-红包报销审批。
66+
*/
67+
@SerializedName("record_type")
68+
record_type("record_type");
6269

6370
private final String value;
6471

0 commit comments

Comments
 (0)