Browse Source

fix 充电口编号数据错误

skyline 1 năm trước cách đây
mục cha
commit
84af38c96a

+ 1 - 1
service/src/main/java/com/kym/service/enplus/impl/EnNotifyServiceImpl.java

@@ -77,7 +77,7 @@ public class EnNotifyServiceImpl implements EnNotifyService {
 
     @PostConstruct
     void init() {
-        KymCache.INSTANCE.putConnectorId2Status(connectorInfoService.list().stream().collect(Collectors.toMap(item -> item.getConnectorId().concat("1"), ConnectorInfo::getStatus)));
+        KymCache.INSTANCE.putConnectorId2Status(connectorInfoService.list().stream().collect(Collectors.toMap(ConnectorInfo::getConnectorId, ConnectorInfo::getStatus)));
     }
 
     /**