mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update
This commit is contained in:
@@ -119,7 +119,7 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
|
||||
// 查数据库
|
||||
pileBasicInfo = pileBasicInfoMapper.selectPileBasicInfoBySn(pileSn);
|
||||
if (pileBasicInfo != null) {
|
||||
redisCache.setCacheObject(redisKey, pileBasicInfo, 5, TimeUnit.MINUTES);
|
||||
redisCache.setCacheObject(redisKey, pileBasicInfo, 15, TimeUnit.MINUTES);
|
||||
}
|
||||
}
|
||||
return pileBasicInfo;
|
||||
|
||||
@@ -411,7 +411,9 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
|
||||
@Override
|
||||
public List<ConnectorInfoVO> selectConnectorInfoList(String pileSn) {
|
||||
// 查询充电桩型号信息
|
||||
PileModelInfoVO pileModelInfoVO = pileModelInfoService.getPileModelInfoByPileSn(pileSn);
|
||||
// PileModelInfoVO pileModelInfoVO = pileModelInfoService.getPileModelInfoByPileSn(pileSn);
|
||||
PileBasicInfo pileBasicInfo = pileBasicInfoService.selectPileBasicInfoBySN(pileSn);
|
||||
PileModelInfoVO pileModelInfoVO = pileModelInfoService.getPileModelInfoByModelId(pileBasicInfo.getModelId());
|
||||
|
||||
List<PileConnectorInfo> connectorList = selectPileConnectorInfoList(pileSn);
|
||||
List<ConnectorInfoVO> connectorInfoList = Lists.newArrayList();
|
||||
|
||||
Reference in New Issue
Block a user