This commit is contained in:
YAS\29473
2025-06-27 16:00:24 +08:00
parent f10b01a884
commit 5eb115098a
2 changed files with 6 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ public enum ThirdPlatformTypeEnum {
WEI_WANG_XIN_DIAN("23", "微网新电", "MA005DBW1"),
HU_ZHOU_PLATFORM("24", "湖州市监管平台", "MA27U00HZ"),
CHANG_ZHOU_PLATFORM("25", "新运常畅充", "0585PCW57"),
SI_CHUAN_PLATFORM("26", "四川省平台", ""),
SI_CHUAN_PLATFORM("26", "四川省平台", "MA01H3BQ2"),
JI_LIN_PLATFORM("27", "吉林省平台", ""),
;

View File

@@ -825,9 +825,12 @@ public class ChangZhouPlatformServiceImpl implements ThirdPartyPlatformService {
//《***优惠金额***》
//优惠电费
BigDecimal discountElectricityAmount = orderDetail.getDiscountElectricityAmount();
BigDecimal discountElectricityAmount =
orderDetail.getDiscountElectricityAmount() == null ? BigDecimal.ZERO:orderDetail.getDiscountElectricityAmount();
//优惠服务费
BigDecimal discountServiceAmount = orderDetail.getDiscountServiceAmount();
BigDecimal discountServiceAmount =
orderDetail.getDiscountServiceAmount() == null ? BigDecimal.ZERO:orderDetail.getDiscountServiceAmount();
//《***优惠后***》
//电费