mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update
This commit is contained in:
@@ -64,6 +64,7 @@ public class JumpController extends BaseController {
|
||||
return response;
|
||||
}
|
||||
|
||||
// 针对汇鑫大厦的用户,自动加入集团中
|
||||
private void addMember2MemberGroup(String memberId, PileConnectorVO vo) {
|
||||
if (vo == null || StringUtils.isBlank(memberId)) {
|
||||
return;
|
||||
|
||||
@@ -696,6 +696,12 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
|
||||
int slowFree = 0; // 慢充空闲数
|
||||
|
||||
if (CollectionUtils.isNotEmpty(connectorList)) {
|
||||
// 批量查询redis中的枪口状态
|
||||
List<String> redisKeyList = connectorList.stream()
|
||||
.map(x -> CacheConstants.PILE_CONNECTOR_STATUS_KEY + x.getPileConnectorCode())
|
||||
.collect(Collectors.toList());
|
||||
List<String> statusList = redisCache.multiGet(redisKeyList);
|
||||
|
||||
for (ConnectorInfoVO connectorVO : connectorList) {
|
||||
String redisKey = CacheConstants.PILE_CONNECTOR_STATUS_KEY + connectorVO.getPileConnectorCode();
|
||||
String status = redisCache.getCacheObject(redisKey);
|
||||
|
||||
Reference in New Issue
Block a user