浏览代码

增加日志输出

hanwenjie 3 年之前
父节点
当前提交
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;