@@ -26,7 +26,7 @@ public interface WxCpOaService {
2626 * </pre>
2727 *
2828 * @param request 请求
29- * @return 表单提交成功后,返回的表单编号
29+ * @return 表单提交成功后 ,返回的表单编号
3030 * @throws WxErrorException .
3131 */
3232 String apply (WxCpOaApplyEventRequest request ) throws WxErrorException ;
@@ -41,7 +41,7 @@ public interface WxCpOaService {
4141 * @param startTime 获取打卡记录的开始时间
4242 * @param endTime 获取打卡记录的结束时间
4343 * @param userIdList 需要获取打卡记录的用户列表
44- * @return 打卡数据列表
44+ * @return 打卡数据列表 checkin data
4545 * @throws WxErrorException 异常
4646 */
4747 List <WxCpCheckinData > getCheckinData (Integer openCheckinDataType , Date startTime , Date endTime ,
@@ -55,7 +55,7 @@ List<WxCpCheckinData> getCheckinData(Integer openCheckinDataType, Date startTime
5555 *
5656 * @param datetime 需要获取规则的当天日期
5757 * @param userIdList 需要获取打卡规则的用户列表
58- * @return 打卡规则列表
58+ * @return 打卡规则列表 checkin option
5959 * @throws WxErrorException .
6060 */
6161 List <WxCpCheckinOption > getCheckinOption (Date datetime , List <String > userIdList ) throws WxErrorException ;
@@ -78,7 +78,7 @@ List<WxCpCheckinData> getCheckinData(Integer openCheckinDataType, Date startTime
7878 * @param cursor 分页查询游标,默认为0,后续使用返回的next_cursor进行分页拉取
7979 * @param size 一次请求拉取审批单数量,默认值为100,上限值为100
8080 * @param filters 筛选条件,可对批量拉取的审批申请设置约束条件,支持设置多个条件,nullable
81- * @return WxCpApprovalInfo
81+ * @return WxCpApprovalInfo approval info
8282 * @throws WxErrorException .
8383 */
8484 WxCpApprovalInfo getApprovalInfo (@ NonNull Date startTime , @ NonNull Date endTime , Integer cursor , Integer size ,
@@ -89,9 +89,9 @@ WxCpApprovalInfo getApprovalInfo(@NonNull Date startTime, @NonNull Date endTime,
8989 *
9090 * @param startTime 开始时间
9191 * @param endTime 结束时间
92- * @return WxCpApprovalInfo
92+ * @return WxCpApprovalInfo approval info
9393 * @throws WxErrorException .
94- * @see me.chanjar.weixin.cp.api.WxCpOaService#getApprovalInfo
94+ * @see me.chanjar.weixin.cp.api.WxCpOaService#getApprovalInfo me.chanjar.weixin.cp.api.WxCpOaService#getApprovalInfo
9595 */
9696 WxCpApprovalInfo getApprovalInfo (@ NonNull Date startTime , @ NonNull Date endTime ) throws WxErrorException ;
9797
@@ -105,7 +105,7 @@ WxCpApprovalInfo getApprovalInfo(@NonNull Date startTime, @NonNull Date endTime,
105105 * </pre>
106106 *
107107 * @param spNo 审批单编号。
108- * @return WxCpApprovaldetail
108+ * @return WxCpApprovaldetail approval detail
109109 * @throws WxErrorException .
110110 */
111111 WxCpApprovalDetailResult getApprovalDetail (@ NonNull String spNo ) throws WxErrorException ;
@@ -117,7 +117,7 @@ WxCpApprovalInfo getApprovalInfo(@NonNull Date startTime, @NonNull Date endTime,
117117 * @param endTime 查询的结束时间戳
118118 * @param offset 分页查询的偏移量
119119 * @param limit 分页查询的每页大小,默认为100条,如该参数大于100则按100处理
120- * @return .
120+ * @return . dial record
121121 * @throws WxErrorException .
122122 */
123123 List <WxCpDialRecord > getDialRecord (Date startTime , Date endTime , Integer offset ,
@@ -127,9 +127,45 @@ List<WxCpDialRecord> getDialRecord(Date startTime, Date endTime, Integer offset,
127127 * 获取审批模板详情
128128 *
129129 * @param templateId 模板ID
130- * @return .
130+ * @return . template detail
131131 * @throws WxErrorException .
132132 */
133133 WxCpTemplateResult getTemplateDetail (@ NonNull String templateId ) throws WxErrorException ;
134134
135+
136+ /**
137+ * 获取打卡日报数据
138+ *
139+ * @param startTime 获取日报的开始时间
140+ * @param endTime 获取日报的结束时间
141+ * @param userIdList 获取日报的userid列表
142+ * @return 日报数据列表 checkin day data
143+ * @throws WxErrorException the wx error exception
144+ */
145+ List <WxCpCheckinDayData > getCheckinDayData (Date startTime , Date endTime , List <String > userIdList ) throws WxErrorException ;
146+
147+
148+ /**
149+ * 获取打卡月报数据
150+ *
151+ * @param startTime 获取月报的开始时间
152+ * @param endTime 获取月报的结束时间
153+ * @param userIdList 获取月报的userid列表
154+ * @return 月报数据列表
155+ * @throws WxErrorException the wx error exception
156+ */
157+ List <WxCpCheckinMonthData > getCheckinMonthData (Date startTime , Date endTime , List <String > userIdList ) throws WxErrorException ;
158+
159+ /**
160+ * 获取打卡人员排班信息
161+ *
162+ * @param startTime 获取排班信息的开始时间。Unix时间戳
163+ * @param endTime 获取排班信息的结束时间。Unix时间戳(与starttime跨度不超过一个月)
164+ * @param userIdList 需要获取排班信息的用户列表(不超过100个)
165+ * @return 排班表信息
166+ * @throws WxErrorException the wx error exception
167+ */
168+ WxCpCheckinSchedule getCheckinScheduleList (Date startTime , Date endTime , List <String > userIdList ) throws WxErrorException ;
169+
170+
135171}
0 commit comments