-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
::new #1344 企业微信增加新的审批接口: “批量获取审批单号”及“获取审批申请详情”
- Loading branch information
1 parent
aad2e5b
commit 2f84da5
Showing
24 changed files
with
843 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalApplyData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package me.chanjar.weixin.cp.bean.oa; | ||
|
||
import lombok.Data; | ||
import me.chanjar.weixin.cp.bean.oa.applydata.Content; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* 审批申请数据 | ||
* | ||
* @author element | ||
*/ | ||
@Data | ||
public class WxCpApprovalApplyData implements Serializable { | ||
|
||
private static final long serialVersionUID = 4061352949894274704L; | ||
|
||
private List<Content> contents; | ||
|
||
} |
23 changes: 23 additions & 0 deletions
23
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalApplyer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package me.chanjar.weixin.cp.bean.oa; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* 申请人信息 | ||
* @author element | ||
*/ | ||
@Data | ||
public class WxCpApprovalApplyer extends WxCpOperator implements Serializable { | ||
|
||
private static final long serialVersionUID = -8974662568286821271L; | ||
|
||
/** | ||
* 申请人所在部门id | ||
*/ | ||
@SerializedName("partyid") | ||
private String partyId; | ||
|
||
} |
48 changes: 48 additions & 0 deletions
48
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/WxCpApprovalComment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package me.chanjar.weixin.cp.bean.oa; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* 审批申请备注信息 | ||
* | ||
* @author element | ||
*/ | ||
@Data | ||
public class WxCpApprovalComment implements Serializable { | ||
|
||
private static final long serialVersionUID = -5430367411926856292L; | ||
|
||
/** | ||
* 备注人信息 | ||
*/ | ||
private WxCpOperator commentUserInfo; | ||
|
||
/** | ||
* 备注提交时间戳,Unix时间戳 | ||
*/ | ||
@SerializedName("commenttime") | ||
private Long commentTime; | ||
|
||
/** | ||
* 备注id | ||
*/ | ||
@SerializedName("commentid") | ||
private String commentId; | ||
|
||
/** | ||
* 备注文本内容 | ||
*/ | ||
@SerializedName("commentcontent") | ||
private String commentContent; | ||
|
||
/** | ||
* 备注附件id,可能有多个 | ||
*/ | ||
@SerializedName("media_id") | ||
private List<String> mediaIds; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.