Commit f5e3e367 authored by 周健威's avatar 周健威

添加接口

parent eb94c37b
......@@ -19,6 +19,8 @@ public class UsableVeicleDTO extends PageParam {
@ApiModelProperty("城市")
Integer addrCity;
@ApiModelProperty("排除城市")
Integer excludeCity;
@ApiModelProperty("经度")
Double lon;
@ApiModelProperty("纬度")
......
......@@ -1237,12 +1237,17 @@
)
</if>
</if>
<if test=" modelId != null ">
and v.model_id = #{modelId}
</if>
<if test=" addrCity != null ">
and bc.addr_city = #{addrCity}
</if>
<!-- 根据前后record 过滤车辆 -->
<if test="excludeCity != null ">
and bc.addr_city != #{excludeCity}
</if>
<if test=" hotSign != null ">
and vm.hot_sign = #{hotSign}
</if>
......@@ -1449,8 +1454,8 @@
</where>
<choose>
<when test="isMinPrice !=null and isMinPrice==1">
ORDER BY v.price ASC,v.create_time DESC
</when>
ORDER BY v.price ASC,v.create_time DESC
</when>
<otherwise>
ORDER BY v.create_time DESC
</otherwise>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment