Commit 47bda63ad6857a47b6de2a8ffb7ce03af524b763

Authored by 王言钊
1 parent 2a160fd4

添加日志 查找图文入库慢的时间1

src/main/java/com/cnlive/shenhe/api/ContentControllerApi.java
... ... @@ -55,8 +55,11 @@ public class ContentControllerApi {
55 55 shyContent.setContent_id(contentId);
56 56 shyContent.setContent_tag(newContentTag);
57 57 //获取审核类型
  58 + logger.info("查询审核类型之前");
58 59 Integer shenheType = contentService.getShenheType(json.getInteger("spId"), newContentTag);
  60 + logger.info("查询审核类型之后 查询对象之前");
59 61 List<ShyContent> contentList = contentService.findShyContent(shyContent);
  62 + logger.info("条件查询之后");
60 63 logger.info("条件判断之前");
61 64 if (contentList.size() > 0) {
62 65 ShyContent shyContent1 = contentList.get(0);
... ...