mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update pre数据库测试
This commit is contained in:
@@ -438,9 +438,18 @@ public class CommonService {
|
||||
NotificationDTO dto = new NotificationDTO();
|
||||
dto.setStationId(stationId);
|
||||
dto.setPileConnectorCode(pileConnectorCode);
|
||||
dto.setStatus(changedStatus);
|
||||
dto.setPlatformType(thirdPartySecretInfoVO.getPlatformType());
|
||||
|
||||
if(thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.CHANG_ZHOU_PLATFORM.getTypeCode())
|
||||
){
|
||||
//无须转换枪口状态
|
||||
dto.setStatus(connectorStatus);
|
||||
log.info("枪口状态"+connectorStatus);
|
||||
}else{
|
||||
dto.setStatus(changedStatus);
|
||||
log.info("转换的枪口状态"+changedStatus);
|
||||
}
|
||||
|
||||
// 先推送站点状态
|
||||
notificationService.notificationStationStatus(dto);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user