Commit d2b18d2d by zhengxj

finish 处理车系为空 on 20190829

by zhengxj 

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23702 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent e294f7bc
...@@ -184,6 +184,7 @@ public class OrderUtil { ...@@ -184,6 +184,7 @@ public class OrderUtil {
public void setCarInfo(List<SysOrder> orderList) { public void setCarInfo(List<SysOrder> orderList) {
for (SysOrder order : orderList) { for (SysOrder order : orderList) {
order.setCarInfo(null);
if (order.getCarSeries() != null && 0 != order.getCarSeries()) { if (order.getCarSeries() != null && 0 != order.getCarSeries()) {
int serId = order.getCarSeries(); int serId = order.getCarSeries();
int brandId = order.getCarBrand(); int brandId = order.getCarBrand();
...@@ -206,6 +207,7 @@ public class OrderUtil { ...@@ -206,6 +207,7 @@ public class OrderUtil {
carInfo.setType(type.getString("data")); carInfo.setType(type.getString("data"));
} }
} }
} }
order.setCarInfo(carInfo); order.setCarInfo(carInfo);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!