This commit is contained in:
Lemon
2024-01-09 17:29:25 +08:00
parent 2764a267ae
commit 136b3a08d8
5 changed files with 10 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
package com.jsowell.thirdparty.xindiantu.service.impl;
import com.jsowell.common.enums.thirdparty.ThirdPartyOperatorIdEnum;
import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum;
import com.jsowell.common.util.StringUtils;
import com.jsowell.pile.domain.ThirdPartyStationRelation;
import com.jsowell.pile.dto.QueryEquipChargeStatusDTO;
import com.jsowell.pile.dto.QueryEquipmentDTO;
@@ -106,6 +108,7 @@ public class XDTServiceImpl implements XDTService {
*/
@Override
public Map<String, String> queryStartCharge(QueryStartChargeDTO dto) {
dto.setAccountBalance(dto.getChargingAmt());
return zdlService.queryStartCharge(dto);
}

View File

@@ -384,7 +384,7 @@ public class ZDLServiceImpl implements ZDLService {
for (BillingPriceVO billingPriceVO : billingPriceVOList) {
// 将时段开始时间、电费、服务费信息进行封装
policyInfo = new EquipBusinessPolicyVO.PolicyInfo();
policyInfo.setStartTime(billingPriceVO.getStartTime());
policyInfo.setStartTime(billingPriceVO.getStartTime() + ":00");
policyInfo.setElecPrice(new BigDecimal(billingPriceVO.getElectricityPrice()).setScale(4, BigDecimal.ROUND_HALF_UP));
policyInfo.setServicePrice(new BigDecimal(billingPriceVO.getServicePrice()).setScale(4, BigDecimal.ROUND_HALF_UP));