liupeng 4 years ago
parent
commit
35d3c5a14f

+ 1 - 1
code/sapparent/sapservice/src/main/java/org/fouram/mapper/WxUserMapper.xml

@@ -67,6 +67,6 @@
 	</update>
 	
 	<select id="selectSapUserId" resultType="String">
-		SELECT sapUserId from wx_user where delFlag=0 and sapUserIds is not null
+		SELECT sapUserId from wx_user where delFlag=0 and sapUserId is not null
 	</select>
 </mapper>

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

@@ -37,7 +37,6 @@ public class SapEmployeeTimeService extends BaseService {
 		Map<String, List<String>> map = groupList(allSapUserIds, 25);
 		String url = null;
 		for (String key : map.keySet()) {
-			System.out.println(getUserIdList(map.get(key)));
 			url = String.format("https://api15.sapsf.cn/odata/v2/EmployeeTime?$filter=userId in %s&$format=json",
 					getUserIdList(map.get(key)));
 			JsonNode node = requestService.getForObject(url, getHttpHeaders());