Commit 259f848a authored by hezhen's avatar hezhen

Merge branch 'dev-chw' of http://113.105.137.151:22280/youjj/cloud-platform into dev-chw

parents af852bbc 4ee34fe8
......@@ -160,6 +160,8 @@ public class RentVehicleBookDTO extends PageParam {
@ApiModelProperty("城市")
Integer addrCity;
@ApiModelProperty("排除城市")
Integer excludeCity;
@ApiModelProperty("经度")
Double lon;
@ApiModelProperty("纬度")
......
......@@ -19,6 +19,8 @@ public class UsableVeicleDTO extends PageParam {
@ApiModelProperty("城市")
Integer addrCity;
@ApiModelProperty("排除城市")
Integer excludeCity;
@ApiModelProperty("经度")
Double lon;
@ApiModelProperty("纬度")
......
......@@ -245,6 +245,7 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
rbd.setLon(dto.getLon());
rbd.setLat(dto.getLat());
rbd.setAddrCity(dto.getAddrCity());
rbd.setExcludeCity(dto.getExcludeCity());
rbd.setParkBranchCompanyId(dto.getStartCompanyId());
rbd.setStartCompanyId(dto.getStartCompanyId());
rbd.setEndCompanyId(dto.getEndCompanyId());
......
......@@ -1251,12 +1251,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>
......
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