mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
bugfix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user