Commit 9c86d1ea by zhanghj

V1.5.0--提交售后详情接口功能

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24366 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 4a9133b9
...@@ -6,7 +6,6 @@ import java.util.List; ...@@ -6,7 +6,6 @@ import java.util.List;
import javax.validation.constraints.Future; import javax.validation.constraints.Future;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import javax.validation.groups.Default; import javax.validation.groups.Default;
...@@ -395,6 +394,8 @@ public class SysOrder { ...@@ -395,6 +394,8 @@ public class SysOrder {
private Long quotationQuantity; private Long quotationQuantity;
List<SysOrderDevice> orderDevices;
public Long getQuotationQuantity() { public Long getQuotationQuantity() {
...@@ -1202,6 +1203,14 @@ public class SysOrder { ...@@ -1202,6 +1203,14 @@ public class SysOrder {
this.orderDeviceIds = orderDeviceIds; this.orderDeviceIds = orderDeviceIds;
} }
public List<SysOrderDevice> getOrderDevices() {
return orderDevices;
}
public void setOrderDevices(List<SysOrderDevice> orderDevices) {
this.orderDevices = orderDevices;
}
@Override @Override
public String toString() { public String toString() {
return "SysOrder [noBidingDuration=" + noBidingDuration return "SysOrder [noBidingDuration=" + noBidingDuration
......
...@@ -2774,7 +2774,13 @@ public class OrderServiceImpl implements IOrderService { ...@@ -2774,7 +2774,13 @@ public class OrderServiceImpl implements IOrderService {
CarInfo carInfo = orderUtil.getCarInfo(brandId, serId, carType); CarInfo carInfo = orderUtil.getCarInfo(brandId, serId, carType);
order.setCarInfo(carInfo); order.setCarInfo(carInfo);
} }
/*
* 获取订单安装设备信息
*/
SysOrderDevice orderDevice = new SysOrderDevice();
orderDevice.setOrderId(order.getId());
List<SysOrderDevice> orderDeviceList = orderDeviceDao.getOrderDeviceList(orderDevice);
order.setOrderDevices(orderDeviceList);
} }
return order; return order;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!