mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
bugfix 运营端小程序查询枪口详情空指针
This commit is contained in:
@@ -1223,6 +1223,9 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
|
||||
BusinessConnectorInfoVO vo = new BusinessConnectorInfoVO();
|
||||
BusinessConnectorDetailVO detailVO = new BusinessConnectorDetailVO();
|
||||
PileConnectorInfoVO pileConnectorInfoVO = getPileConnectorInfoByConnectorCode(pileConnectorCode);
|
||||
if (pileConnectorInfoVO == null) {
|
||||
return vo;
|
||||
}
|
||||
String status = String.valueOf(pileConnectorInfoVO.getStatus());
|
||||
if (StringUtils.equals(PileConnectorDataBaseStatusEnum.OCCUPIED_CHARGING.getValue(), status)) {
|
||||
// 充电中
|
||||
|
||||
Reference in New Issue
Block a user