mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
统计结算和用电度数都为0, 不统计
This commit is contained in:
@@ -684,7 +684,13 @@ public class SettleOrderReportServiceImpl implements SettleOrderReportService {
|
||||
: new BigDecimal(vo.getChargingDegree());
|
||||
|
||||
// 统计用电度数大于0的订单, 2025年1月14日16点00分修改
|
||||
if (chargingDegree.compareTo(BigDecimal.ZERO) <= 0) {
|
||||
// if (chargingDegree.compareTo(BigDecimal.ZERO) <= 0) {
|
||||
// // 只统计用电量大于0的
|
||||
// continue;
|
||||
// }
|
||||
|
||||
// 统计结算和用电度数都为0, 不统计
|
||||
if (chargingDegree.compareTo(BigDecimal.ZERO) <= 0 && settleAmount.compareTo(BigDecimal.ZERO) <= 0) {
|
||||
// 只统计用电量大于0的
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user