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