This commit is contained in:
Lemon
2023-08-03 19:36:29 +08:00
parent 9329001b87
commit 45a7c0d0fd

View File

@@ -258,8 +258,6 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
PileStationInfo queryStationInfo = selectPileStationInfoById(pileStationInfo.getId());
String oldMerchantId = String.valueOf(queryStationInfo.getMerchantId());
String newMerchantId = String.valueOf(pileStationInfo.getMerchantId());
if (!StringUtils.equals("null", newMerchantId)) {
// 对比一下运营商有没有变化
if (!StringUtils.equals(oldMerchantId, newMerchantId)) {
// 新旧运营商不一致,执行站点更换运营商逻辑
@@ -285,8 +283,6 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
redisCache.deleteObject(redisKey);
return i;
}
return 0;
}
/**
* 充电站更换运营商逻辑