@@ -26,7 +26,7 @@ public interface WxCpOaService {
26
26
* </pre>
27
27
*
28
28
* @param request 请求
29
- * @return 表单提交成功后,返回的表单编号
29
+ * @return 表单提交成功后 ,返回的表单编号
30
30
* @throws WxErrorException .
31
31
*/
32
32
String apply (WxCpOaApplyEventRequest request ) throws WxErrorException ;
@@ -41,7 +41,7 @@ public interface WxCpOaService {
41
41
* @param startTime 获取打卡记录的开始时间
42
42
* @param endTime 获取打卡记录的结束时间
43
43
* @param userIdList 需要获取打卡记录的用户列表
44
- * @return 打卡数据列表
44
+ * @return 打卡数据列表 checkin data
45
45
* @throws WxErrorException 异常
46
46
*/
47
47
List <WxCpCheckinData > getCheckinData (Integer openCheckinDataType , Date startTime , Date endTime ,
@@ -55,7 +55,7 @@ List<WxCpCheckinData> getCheckinData(Integer openCheckinDataType, Date startTime
55
55
*
56
56
* @param datetime 需要获取规则的当天日期
57
57
* @param userIdList 需要获取打卡规则的用户列表
58
- * @return 打卡规则列表
58
+ * @return 打卡规则列表 checkin option
59
59
* @throws WxErrorException .
60
60
*/
61
61
List <WxCpCheckinOption > getCheckinOption (Date datetime , List <String > userIdList ) throws WxErrorException ;
@@ -78,7 +78,7 @@ List<WxCpCheckinData> getCheckinData(Integer openCheckinDataType, Date startTime
78
78
* @param cursor 分页查询游标,默认为0,后续使用返回的next_cursor进行分页拉取
79
79
* @param size 一次请求拉取审批单数量,默认值为100,上限值为100
80
80
* @param filters 筛选条件,可对批量拉取的审批申请设置约束条件,支持设置多个条件,nullable
81
- * @return WxCpApprovalInfo
81
+ * @return WxCpApprovalInfo approval info
82
82
* @throws WxErrorException .
83
83
*/
84
84
WxCpApprovalInfo getApprovalInfo (@ NonNull Date startTime , @ NonNull Date endTime , Integer cursor , Integer size ,
@@ -89,9 +89,9 @@ WxCpApprovalInfo getApprovalInfo(@NonNull Date startTime, @NonNull Date endTime,
89
89
*
90
90
* @param startTime 开始时间
91
91
* @param endTime 结束时间
92
- * @return WxCpApprovalInfo
92
+ * @return WxCpApprovalInfo approval info
93
93
* @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
95
95
*/
96
96
WxCpApprovalInfo getApprovalInfo (@ NonNull Date startTime , @ NonNull Date endTime ) throws WxErrorException ;
97
97
@@ -105,7 +105,7 @@ WxCpApprovalInfo getApprovalInfo(@NonNull Date startTime, @NonNull Date endTime,
105
105
* </pre>
106
106
*
107
107
* @param spNo 审批单编号。
108
- * @return WxCpApprovaldetail
108
+ * @return WxCpApprovaldetail approval detail
109
109
* @throws WxErrorException .
110
110
*/
111
111
WxCpApprovalDetailResult getApprovalDetail (@ NonNull String spNo ) throws WxErrorException ;
@@ -117,7 +117,7 @@ WxCpApprovalInfo getApprovalInfo(@NonNull Date startTime, @NonNull Date endTime,
117
117
* @param endTime 查询的结束时间戳
118
118
* @param offset 分页查询的偏移量
119
119
* @param limit 分页查询的每页大小,默认为100条,如该参数大于100则按100处理
120
- * @return .
120
+ * @return . dial record
121
121
* @throws WxErrorException .
122
122
*/
123
123
List <WxCpDialRecord > getDialRecord (Date startTime , Date endTime , Integer offset ,
@@ -127,9 +127,45 @@ List<WxCpDialRecord> getDialRecord(Date startTime, Date endTime, Integer offset,
127
127
* 获取审批模板详情
128
128
*
129
129
* @param templateId 模板ID
130
- * @return .
130
+ * @return . template detail
131
131
* @throws WxErrorException .
132
132
*/
133
133
WxCpTemplateResult getTemplateDetail (@ NonNull String templateId ) throws WxErrorException ;
134
134
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
+
135
171
}
0 commit comments