xueyiming 9 mesi fa
parent
commit
2e286ff090

+ 3 - 0
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/exterior/impl/GhDetailServiceImpl.java

@@ -9,6 +9,7 @@ import com.tzld.longarticle.recommend.server.repository.model.GhDetail;
 import com.tzld.longarticle.recommend.server.repository.model.GhDetailExample;
 import com.tzld.longarticle.recommend.server.service.exterior.GhDetailService;
 import com.tzld.longarticle.recommend.server.util.page.Page;
+import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.util.CollectionUtils;
@@ -17,6 +18,7 @@ import reactor.core.publisher.Mono;
 
 import java.util.List;
 
+@Slf4j
 @Service
 public class GhDetailServiceImpl implements GhDetailService {
 
@@ -60,6 +62,7 @@ public class GhDetailServiceImpl implements GhDetailService {
         }
         for (GhDetail ghDetail : ghDetails) {
             getGhDetail(ghDetail);
+            log.info("getGhDetail = {}", ghDetail);
             ghDetailMapper.updateByPrimaryKeySelective(ghDetail);
         }
         return CommonResponse.success();