Commit c378614a by zhengxj

finish 优化 on 20190410 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@19504 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 9c2f4070
......@@ -426,7 +426,9 @@ public class OrderServiceImpl implements IOrderService {
orderList = orderDao.selectByExample(example);
for (SysOrder order : orderList) {
// 订单地址信息
order.setArea(areaService.getAllChargeItems(order.getDistrict()));
if(order.getDistrict()!=null){
order.setArea(areaService.getAllChargeItems(order.getDistrict()));
}
// 渠道名称
if (oueryOrderReq.getOrderChannel() != null) {
order.setOrderChannel(orderChannelDao.selectByPrimaryKey(oueryOrderReq.getOrderChannel()).getName());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!