|
@@ -474,7 +474,7 @@ public class PartitionCrashServiceImpl implements PartitionCrashService {
|
|
|
|
|
|
ptLog = new PtProfitDailyStatisticsLogDO();
|
|
|
ptLog.setEveryday(now);
|
|
|
- if (totalCollisionAmount.equals(0L)) {
|
|
|
+ if (!totalCollisionAmount.equals(0L)) {
|
|
|
ptLog.setTotalCollisionAmount(sum + totalCollisionAmount);
|
|
|
} else {
|
|
|
ptLog.setTotalCollisionAmount(sum);
|