hanwenjie преди 3 години
родител
ревизия
3e0cdd12fd
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      code/sapparent/sapservice/src/main/java/org/fouram/service/SapEmployeeTimeService.java

+ 1 - 0
code/sapparent/sapservice/src/main/java/org/fouram/service/SapEmployeeTimeService.java

@@ -39,6 +39,7 @@ public class SapEmployeeTimeService extends BaseService {
 		for (String userId : allSapUserIds) {
 			url = String.format("https://api15.sapsf.cn/odata/v2/EmployeeTime?$filter=userId in %s&$format=json",
 					userId);
+			log.info("saveEmployeeTimes url = {} ,headers = {}",url,getHttpHeaders());
 			JsonNode node = requestService.getForObject(url, getHttpHeaders());
 			SapEmployeeTime dbEmployeeTime = null;
 			SapEmployeeTime employeeTime = null;