Compare commits
2 Commits
754582b203
...
5bdf6a89dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bdf6a89dd | ||
|
|
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