update 打印日志

This commit is contained in:
Lemon
2024-09-09 20:57:54 +08:00
parent c646700ddc
commit f2a18a6ea1
2 changed files with 18 additions and 1 deletions

View File

@@ -182,7 +182,7 @@ public class PileService {
// 查询站点信息
PileStationVO stationInfo = pileStationInfoService.getStationInfo(pileInfoVO.getStationId());
log.info("查询充电枪口详情-getStationInfo:{}, onLineStatus:{}", pileInfoVO.getStationId(), JSON.toJSONString(stationInfo));
log.info("查询充电枪口详情-getStationInfo:{}, stationInfo:{}", pileInfoVO.getStationId(), JSON.toJSONString(stationInfo));
if (stationInfo == null || StringUtils.equals(stationInfo.getOpenFlag(), Constants.ZERO)) {
throw new BusinessException(ReturnCodeEnum.CODE_STATION_IS_NOT_OPEN);
}