This commit is contained in:
sxu 2023-12-10 02:41:46 +08:00
parent 7b7cca7b7c
commit 54e167de3f
2 changed files with 6 additions and 2 deletions

View File

@ -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 = "联系电话")

View File

@ -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();
}