Parcourir la source

增加日志输出

hanwenjie il y a 3 ans
Parent
commit
3e0cdd12fd

+ 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;