| | |
| | | public void getWeComAttendanceListOfNoon(String attendDate, List attUser) throws Exception { |
| | | try { |
| | | // 获取企业微信Token |
| | | wxCpService.getAccessToken(); |
| | | wxCpService.getAccessToken(true); |
| | | |
| | | // 获取参数日期类 |
| | | Calendar calAttendDate = Calendar.getInstance(); |
| | |
| | | public void getWeComAttendanceListOfNight(String attendDate, List attUser) throws Exception { |
| | | try { |
| | | // 获取企业微信Token |
| | | wxCpService.getAccessToken(); |
| | | wxCpService.getAccessToken(true); |
| | | |
| | | // 获取参数日期类 |
| | | Calendar calAttendDate = Calendar.getInstance(); |
| | |
| | | if (userWeComIdList.size() > 0) { |
| | | try { |
| | | // 获取企业微信Token |
| | | wxCpService.getAccessToken(); |
| | | wxCpService.getAccessToken(true); |
| | | |
| | | // 编辑消息 |
| | | WxCpMessage wxCpMessage = new WxCpMessage(); |
| | |
| | | |
| | | try { |
| | | // 获取企业微信Token |
| | | wxCpService.getAccessToken(); |
| | | wxCpService.getAccessToken(true); |
| | | |
| | | // 查询现有子表信息 |
| | | WxCpSheetQueryRequest sheetQueryRequest = new WxCpSheetQueryRequest(); |
| | |
| | | |
| | | try { |
| | | // 获取企业微信Token |
| | | wxCpService.getAccessToken(); |
| | | wxCpService.getAccessToken(true); |
| | | |
| | | // 查询现有子表信息 |
| | | WxCpSheetQueryRequest sheetQueryRequest = new WxCpSheetQueryRequest(); |