mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-27 06:25:13 +08:00
update 计算订单会员折扣逻辑
This commit is contained in:
@@ -2360,8 +2360,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
@Override
|
||||
public Map<String, Object> generateOrderByCard(GenerateOrderDTO dto) throws Exception {
|
||||
logger.info("充电桩主动申请启动充电生成订单 param:{}", JSON.toJSONString(dto));
|
||||
// BigDecimal totalAccountAmount = BigDecimal.ZERO;
|
||||
BigDecimal accountBalance = BigDecimal.ZERO;
|
||||
BigDecimal accountBalance;
|
||||
String payMode;
|
||||
// 判断当前用户是否为平台测试员
|
||||
PlatformTesterVO platformTesterVO = memberBasicInfoService.selectPlatformTesterStatus(dto.getMemberId());
|
||||
@@ -2375,7 +2374,6 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
// 是平台测试员
|
||||
accountBalance = Constants.whitelistDefaultAmount;
|
||||
payMode = OrderPayModeEnum.PAYMENT_OF_WHITELIST.getValue();
|
||||
|
||||
} else if (pileStationWhitelist != null) {
|
||||
// 站点白名单
|
||||
accountBalance = Constants.whitelistDefaultAmount;
|
||||
|
||||
Reference in New Issue
Block a user