|
@@ -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){
|