fix
This commit is contained in:
parent
7b7cca7b7c
commit
54e167de3f
|
|
@ -31,6 +31,8 @@ public class OrderInfoVo extends OrderInfo {
|
||||||
private String deviceLocation;
|
private String deviceLocation;
|
||||||
@ApiModelProperty(value = "装备月租金")
|
@ApiModelProperty(value = "装备月租金")
|
||||||
private Double deviceMonthLeasePrice;
|
private Double deviceMonthLeasePrice;
|
||||||
|
@ApiModelProperty(value = "装备日租金")
|
||||||
|
private Double deviceDayLeasePrice;
|
||||||
@ApiModelProperty(value = "装备id")
|
@ApiModelProperty(value = "装备id")
|
||||||
private Long maId;
|
private Long maId;
|
||||||
@ApiModelProperty(value = "联系电话")
|
@ApiModelProperty(value = "联系电话")
|
||||||
|
|
|
||||||
|
|
@ -119,8 +119,10 @@ public class OrderInfoController extends BaseController
|
||||||
orderInfo.setDeviceSpecification((String) map2.get("specification"));
|
orderInfo.setDeviceSpecification((String) map2.get("specification"));
|
||||||
orderInfo.setDeviceLocation((String) map2.get("location"));
|
orderInfo.setDeviceLocation((String) map2.get("location"));
|
||||||
try {
|
try {
|
||||||
Double price = (Double) map2.get("monthLeasePrice");
|
Double monthPrice = (Double) map2.get("monthLeasePrice");
|
||||||
orderInfo.setDeviceMonthLeasePrice(price);
|
orderInfo.setDeviceMonthLeasePrice(monthPrice);
|
||||||
|
Double dayPrice = (Double) map2.get("dayLeasePrice");
|
||||||
|
orderInfo.setDeviceDayLeasePrice(dayPrice);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue