소스 검색

修改日志

gufengshou1 1 년 전
부모
커밋
3821b35e12
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      ad-engine-service/src/main/java/com/tzld/piaoquan/ad/engine/service/score/impl/RankServiceImpl.java

+ 4 - 2
ad-engine-service/src/main/java/com/tzld/piaoquan/ad/engine/service/score/impl/RankServiceImpl.java

@@ -95,7 +95,8 @@ public class RankServiceImpl implements RankService {
             object.put("lrsamples",rankResult.get(0).getLrSampleString());
             object.put("dataTime",currentTime.format(timeFormatter));
             log.info("svc=adItemRank {}", JSONObject.toJSONString(object));
-            log.info("svc=pid_log obj={}", JSONObject.toJSONString(object.remove("lrsamples")));
+            object.remove("lrsamples");
+            log.info("svc=pid_log obj={}", JSONObject.toJSONString(object));
             return rankResult.get(0);
         }else {
             //空返回值
@@ -193,7 +194,8 @@ public class RankServiceImpl implements RankService {
         object.put("lrsamples",topItem.getLrSampleString());
         object.put("dataTime",currentTime.format(timeFormatter));
         log.info("svc=adBidRank {}", JSONObject.toJSONString(object));
-        log.info("svc=pid_log obj={}", JSONObject.toJSONString(object.remove("lrsamples")));
+        object.remove("lrsamples");
+        log.info("svc=pid_log obj={}", JSONObject.toJSONString(object));
         return result;
     }