mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-04 22:18:02 +08:00
update 小程序站点列表中枪口状态使用数据库中的值
This commit is contained in:
@@ -745,10 +745,10 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
|
|||||||
|
|
||||||
for (ConnectorInfoVO connectorVO : connectorList) {
|
for (ConnectorInfoVO connectorVO : connectorList) {
|
||||||
String redisKey = CacheConstants.PILE_CONNECTOR_STATUS_KEY + connectorVO.getPileConnectorCode();
|
String redisKey = CacheConstants.PILE_CONNECTOR_STATUS_KEY + connectorVO.getPileConnectorCode();
|
||||||
String status = redisCache.getCacheObject(redisKey);
|
// String status = redisCache.getCacheObject(redisKey);
|
||||||
// if (StringUtils.isBlank(status)) {
|
// if (StringUtils.isBlank(status)) {
|
||||||
// }
|
// }
|
||||||
status = connectorVO.getConnectorStatus();
|
String status = connectorVO.getConnectorStatus();
|
||||||
if (StringUtils.equals(connectorVO.getChargingType(), Constants.ONE)) {
|
if (StringUtils.equals(connectorVO.getChargingType(), Constants.ONE)) {
|
||||||
// 快充
|
// 快充
|
||||||
fastTotal += 1;
|
fastTotal += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user