Commit 9552ea55 by 杨林龙

新增车辆时 进行车型转换

1 parent 21854cc8
...@@ -948,9 +948,12 @@ public class VehicleService { ...@@ -948,9 +948,12 @@ public class VehicleService {
if (StringUtils.isNotBlank(supAdjFreq)) { if (StringUtils.isNotBlank(supAdjFreq)) {
String strs[] = supAdjFreq.split(","); String strs[] = supAdjFreq.split(",");
for (String str : strs) { for (String str : strs) {
if (vehicleInfoPageDTO.getSn().startsWith(str)) { String sn = vehicleInfoPageDTO.getSn();
vehicleInfoPageDTO.setAdjFreq(1); if (StringUtils.isNotEmpty(sn)) {
break; if (sn.startsWith(str)) {
vehicleInfoPageDTO.setAdjFreq(1);
break;
}
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!