Quellcode durchsuchen

打标趋势 问题修复

2507040827 vor 3 Wochen
Ursprung
Commit
d4874f2f7c

+ 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;
     }