Explorar o código

1.消耗乘系数

jzp hai 10 horas
pai
achega
8f958be09b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs-admin/src/main/java/com/fs/his/task/Task.java

+ 1 - 1
fs-admin/src/main/java/com/fs/his/task/Task.java

@@ -356,7 +356,7 @@ public class Task {
                     }else{
                         count = fastGptPushTotal.getCount() * 150;
                     }
-                    count = (long) (count * 1.4);
+                    count = (long) (count * 1.4)==0?0: (long) (count * 1.4);
                     fastGptPushTotal.setCount(count);
                     FastGptPushTokenTotal pushTotal = qwRestrictionPushRecordMapper.selectFastGptPushTokenTotalByInfo(fastGptPushTotal);
                     if(pushTotal == null){