0C协议更新,下发费率响应

This commit is contained in:
ZZ 2022-03-16 15:44:16 +08:00
parent fff1786306
commit c53b4d42cc

View File

@ -45,7 +45,7 @@ public class RateModelConfigReplyDataLogic implements ServiceLogic {
String version = (String) cachePile.get("version");
if (!"0A".equals(version) && !"0B".equals(version)) {
Long stationRateModelId = cacheStation.getRateModelId();
if (stationRateModelId.equals(pileRateModelConfigReplyData.getRateModelId())) {
if (stationRateModelId.intValue() == pileRateModelConfigReplyData.getRateModelId()) {
cachePile.put("rateModelId", cacheStation.getRateModelId());
result = OK;
}