Commit 5c816c13 by zhengxj

finish 处理车系为空 on 20190829

by zhengxj 

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23700 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 11506763
......@@ -183,9 +183,10 @@ public class OrderUtil {
public void setCarInfo(List<SysOrder> orderList) {
for (SysOrder order : orderList) {
if (order.getCarSeries() != null) {
if (order.getCarSeries() != null && 0 != order.getCarSeries()) {
int serId = order.getCarSeries();
int brandId = order.getCarBrand();
JSONObject series = carBrandClient.getSeriesById(serId);
JSONObject brand = carBrandClient.getBrandById(brandId);
CarInfo carInfo = new CarInfo();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!