lyhzzz 1 năm trước cách đây
mục cha
commit
83e34582d8

+ 1 - 1
src/main/java/com/fdkankan/manage/task/DingdingService.java

@@ -51,7 +51,7 @@ public class DingdingService {
             BigDecimal divideCount = dbCount.divide(totalCount,2,RoundingMode.HALF_DOWN);
             BigDecimal thresholdCount = new BigDecimal(threshold).setScale(2,RoundingMode.HALF_DOWN);
             log.info("modelThreshold--{},{},{},{}",threshold,divideCount,thresholdCount,divideCount.compareTo(thresholdCount));
-            if(divideCount.compareTo(thresholdCount) < 0 ){
+            if(divideCount.compareTo(thresholdCount) <= 0 ){
                 this.sendDingDingMsg(size);
             }
         }catch (Exception e){