Compare commits

..

No commits in common. "5bdf6a89dd8f5cf927414be91665bc7e33790728" and "754582b20366ece42fa3dd74f4b919b730eddd53" have entirely different histories.

View File

@ -258,7 +258,7 @@ public class PersonService {
if (StringUtils.isNotEmpty(propertyValue)) { if (StringUtils.isNotEmpty(propertyValue)) {
try { try {
JSONObject jsonObject = JSONObject.parseObject(propertyValue); JSONObject jsonObject = JSONObject.parseObject(propertyValue);
String relationShapeId = jsonObject.getString("relationFileId"); String relationShapeId = jsonObject.getString("relationShapeId");
if (StringUtils.isNotEmpty(relationShapeId)) { if (StringUtils.isNotEmpty(relationShapeId)) {
xgPerformanceIds.addAll(Arrays.asList(relationShapeId.split(","))); 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(); List<BO> kpiBos = SDK.getBOAPI().query("BO_EU_PORTAL_PERSON_KPI").list();
if (kpiBos.size() > 0) { if (kpiBos.size() > 0) {
for (BO bo : kpiBos) { for (BO bo : kpiBos) {
if (xgPerformanceIds.contains(bo.getString("FILE_ID"))) { if (xgPerformanceIds.contains(bo.getString("KPI_IP"))) {
xgPerformance++; xgPerformance++;
} }
} }
@ -987,7 +987,7 @@ public class PersonService {
if (StringUtils.isNotEmpty(propertyValue)) { if (StringUtils.isNotEmpty(propertyValue)) {
try { try {
JSONObject jsonObject = JSONObject.parseObject(propertyValue); JSONObject jsonObject = JSONObject.parseObject(propertyValue);
String relationShapeId = jsonObject.getString("relationFileId"); String relationShapeId = jsonObject.getString("relationShapeId");
if (StringUtils.isNotEmpty(relationShapeId)) { if (StringUtils.isNotEmpty(relationShapeId)) {
xgPerformanceIds.addAll(Arrays.asList(relationShapeId.split(","))); xgPerformanceIds.addAll(Arrays.asList(relationShapeId.split(",")));
} }
@ -1006,7 +1006,7 @@ public class PersonService {
return resultBos; return resultBos;
} }
for (BO bo : bos) { for (BO bo : bos) {
if (xgPerformanceIds.contains(bo.getString("FILE_ID"))) { if (xgPerformanceIds.contains(bo.getString("KPI_IP"))) {
resultBos.add(bo.toJSONObject()); resultBos.add(bo.toJSONObject());
} }
} }