mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-05 02:20:12 +08:00
显示SOC
This commit is contained in:
@@ -312,6 +312,20 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
|||||||
String label = ThirdPlatformTypeEnum.getTypeLabelByTypeCode(thirdPartyType);
|
String label = ThirdPlatformTypeEnum.getTypeLabelByTypeCode(thirdPartyType);
|
||||||
orderListVO.setThirdPartyType(label + "启动");
|
orderListVO.setThirdPartyType(label + "启动");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 设置soc
|
||||||
|
if (StringUtils.isNotBlank(orderListVO.getStartSoc()) || StringUtils.isNotBlank(orderListVO.getEndSoc())) {
|
||||||
|
// 取redis中的soc数据
|
||||||
|
Map<String, String> socMap = YKCUtils.getSOCMap(orderListVO.getTransactionCode());
|
||||||
|
if (Objects.nonNull(socMap)) {
|
||||||
|
if (StringUtils.isBlank(orderListVO.getStartSoc())) {
|
||||||
|
orderListVO.setStartSoc(socMap.get("startSoc"));
|
||||||
|
}
|
||||||
|
if (StringUtils.isBlank(orderListVO.getEndSoc())) {
|
||||||
|
orderListVO.setEndSoc(socMap.get("endSoc"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
batchQueryFeeAmt(orderListVOS);
|
batchQueryFeeAmt(orderListVOS);
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="起始SOC">{{ item.startSoc }}
|
<el-descriptions-item label="起始SOC">{{ item.startSoc }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="终止SOC">{{ item.endSoc }}
|
<el-descriptions-item label="当前SOC">{{ item.endSoc }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="结束充电时间">{{ item.chargeEndTime }}
|
<el-descriptions-item label="结束充电时间">{{ item.chargeEndTime }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
|||||||
Reference in New Issue
Block a user