소스 검색

打标趋势 问题修复

2507040827 3 주 전
부모
커밋
d4874f2f7c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      server/yusp-tagging-core/src/main/java/cn/com/yusys/yusp/service/impl/AitagTagLogServiceImpl.java

+ 2 - 2
server/yusp-tagging-core/src/main/java/cn/com/yusys/yusp/service/impl/AitagTagLogServiceImpl.java

@@ -94,9 +94,9 @@ public class AitagTagLogServiceImpl extends ServiceImpl<AitagTagLogDao, AitagTag
         int daysByTwoDatesDef = DateUtils.getDaysByTwoDatesDef(startTaggingTime, endTaggingTime);
         List<IconResVo> taggingTrendResVo = null;
         if(daysByTwoDatesDef>=15){
-            taggingTrendResVo = this.baseMapper.selectTagReportByDay(taggingTrendReqVo);
-        }else{
             taggingTrendResVo = this.baseMapper.selectTagReportByMonth(taggingTrendReqVo);
+        }else{
+            taggingTrendResVo = this.baseMapper.selectTagReportByDay(taggingTrendReqVo);
         }
         return taggingTrendResVo;
     }