调整获取绩效相关逻辑
This commit is contained in:
		
							parent
							
								
									b266112628
								
							
						
					
					
						commit
						bdcc5028c0
					
				| @ -258,7 +258,7 @@ public class PersonService { | ||||
|                     if (StringUtils.isNotEmpty(propertyValue)) { | ||||
|                         try { | ||||
|                             JSONObject jsonObject = JSONObject.parseObject(propertyValue); | ||||
|                             String relationShapeId = jsonObject.getString("relationShapeId"); | ||||
|                             String relationShapeId = jsonObject.getString("relationFileId"); | ||||
|                             if (StringUtils.isNotEmpty(relationShapeId)) { | ||||
|                                 xgPerformanceIds.addAll(Arrays.asList(relationShapeId.split(","))); | ||||
|                             } | ||||
| @ -280,7 +280,7 @@ public class PersonService { | ||||
|             List<BO> kpiBos = SDK.getBOAPI().query("BO_EU_PORTAL_PERSON_KPI").list(); | ||||
|             if (kpiBos.size() > 0) { | ||||
|                 for (BO bo : kpiBos) { | ||||
|                     if (xgPerformanceIds.contains(bo.getString("KPI_IP"))) { | ||||
|                     if (xgPerformanceIds.contains(bo.getString("FILE_ID"))) { | ||||
|                         xgPerformance++; | ||||
|                     } | ||||
|                 } | ||||
| @ -987,7 +987,7 @@ public class PersonService { | ||||
|                 if (StringUtils.isNotEmpty(propertyValue)) { | ||||
|                     try { | ||||
|                         JSONObject jsonObject = JSONObject.parseObject(propertyValue); | ||||
|                         String relationShapeId = jsonObject.getString("relationShapeId"); | ||||
|                         String relationShapeId = jsonObject.getString("relationFileId"); | ||||
|                         if (StringUtils.isNotEmpty(relationShapeId)) { | ||||
|                             xgPerformanceIds.addAll(Arrays.asList(relationShapeId.split(","))); | ||||
|                         } | ||||
| @ -1006,7 +1006,7 @@ public class PersonService { | ||||
|             return resultBos; | ||||
|         } | ||||
|         for (BO bo : bos) { | ||||
|             if (xgPerformanceIds.contains(bo.getString("KPI_IP"))) { | ||||
|             if (xgPerformanceIds.contains(bo.getString("FILE_ID"))) { | ||||
|                 resultBos.add(bo.toJSONObject()); | ||||
|             } | ||||
|         } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 袁东强
						袁东强