🆕 #2219 【企业微信】 新增为打卡人员排班接口
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user