Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
50198ee819
|
|
@ -30,7 +30,7 @@ public class OrderInfoVo extends OrderInfo {
|
|||
@ApiModelProperty(value = "装备位置")
|
||||
private String deviceLocation;
|
||||
@ApiModelProperty(value = "装备月租金")
|
||||
private String deviceMonthLeasePrice;
|
||||
private Double deviceMonthLeasePrice;
|
||||
@ApiModelProperty(value = "装备id")
|
||||
private Long maId;
|
||||
@ApiModelProperty(value = "联系电话")
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<where>
|
||||
<if test="maId != null "> and d.ma_id = #{maId}</if>
|
||||
<if test="code != null and code != ''"> and d.code = #{code}</if>
|
||||
<if test="typeId != null and level != null and level != '1'">
|
||||
<if test="typeId != null and level != null and level != 1">
|
||||
and d.type_id = #{typeId} or t.parent_id = #{typeId}
|
||||
</if>
|
||||
<if test="maStatus != null and maStatus != ''"> and d.ma_status = #{maStatus}</if>
|
||||
|
|
|
|||
|
|
@ -118,7 +118,12 @@ public class OrderInfoController extends BaseController
|
|||
orderInfo.setDeviceBrand((String) map2.get("brand"));
|
||||
orderInfo.setDeviceSpecification((String) map2.get("specification"));
|
||||
orderInfo.setDeviceLocation((String) map2.get("location"));
|
||||
orderInfo.setDeviceMonthLeasePrice((String) map2.get("monthLeasePrice"));
|
||||
try {
|
||||
Double price = (Double) map2.get("monthLeasePrice");
|
||||
orderInfo.setDeviceMonthLeasePrice(price);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
return success(orderInfo);
|
||||
|
|
|
|||
Loading…
Reference in New Issue