|
@@ -50,19 +50,19 @@ public class ReportController extends BaseController {
|
|
if(StringUtils.isBlank(endDay)) {
|
|
if(StringUtils.isBlank(endDay)) {
|
|
return AppUtil.error("参数endDay为空");
|
|
return AppUtil.error("参数endDay为空");
|
|
}
|
|
}
|
|
- System.out.println("=====================================================");
|
|
|
|
|
|
+ System.out.println("==========================1===========================");
|
|
wxDepartService.saveDeparts();
|
|
wxDepartService.saveDeparts();
|
|
- System.out.println("=====================================================");
|
|
|
|
|
|
+ System.out.println("==========================2===========================");
|
|
wxUserService.saveUsers();
|
|
wxUserService.saveUsers();
|
|
- System.out.println("=====================================================");
|
|
|
|
|
|
+ System.out.println("==========================3===========================");
|
|
sapCheckService.saveCheckInOffOuts(startDay, endDay);
|
|
sapCheckService.saveCheckInOffOuts(startDay, endDay);
|
|
- System.out.println("=====================================================");
|
|
|
|
|
|
+ System.out.println("==========================4===========================");
|
|
employeeTimeService.saveEmployeeTimes();
|
|
employeeTimeService.saveEmployeeTimes();
|
|
- System.out.println("=====================================================");
|
|
|
|
|
|
+ System.out.println("==========================5===========================");
|
|
sapCheckOptionService.saveOptions(endDay);
|
|
sapCheckOptionService.saveOptions(endDay);
|
|
- System.out.println("=====================================================");
|
|
|
|
|
|
+ System.out.println("==========================6===========================");
|
|
sapApprovalInfoService.saveApprovalInfos(endDay.substring(0, 7));
|
|
sapApprovalInfoService.saveApprovalInfos(endDay.substring(0, 7));
|
|
- System.out.println("=====================================================");
|
|
|
|
|
|
+ System.out.println("==========================7===========================");
|
|
return AppUtil.success();
|
|
return AppUtil.success();
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
LoggerUtil.error(e);
|
|
LoggerUtil.error(e);
|