1
0
mirror of synced 2025-12-22 18:08:12 +08:00

🆕 #2219 【企业微信】 新增为打卡人员排班接口

This commit is contained in:
longliveh
2021-07-27 20:53:19 +08:00
committed by GitHub
parent 5f23a6f101
commit 8511f8f826
5 changed files with 87 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ import org.testng.annotations.Test;
import org.testng.collections.Lists;
import java.text.ParseException;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
@@ -93,6 +94,19 @@ public class WxCpOaServiceImplTest {
System.out.println(gson.toJson(results));
}
@Test
public void testSetCheckinScheduleList() throws WxErrorException {
WxCpSetCheckinSchedule wxCpSetCheckinSchedule = new WxCpSetCheckinSchedule();
wxCpSetCheckinSchedule.setGroupId(3);
wxCpSetCheckinSchedule.setYearmonth(202108);
WxCpSetCheckinSchedule.Item item = new WxCpSetCheckinSchedule.Item();
item.setScheduleId(0);
item.setDay(20);
item.setUserid("12003648");
wxCpSetCheckinSchedule.setItems(Arrays.asList(item));
wxService.getOaService().setCheckinScheduleList(wxCpSetCheckinSchedule);
}
@Test
public void testGetCheckinOption() throws WxErrorException {