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 { ...@@ -160,6 +160,8 @@ public class RentVehicleBookDTO extends PageParam {
@ApiModelProperty("城市") @ApiModelProperty("城市")
Integer addrCity; Integer addrCity;
@ApiModelProperty("排除城市")
Integer excludeCity;
@ApiModelProperty("经度") @ApiModelProperty("经度")
Double lon; Double lon;
@ApiModelProperty("纬度") @ApiModelProperty("纬度")
......
...@@ -19,6 +19,8 @@ public class UsableVeicleDTO extends PageParam { ...@@ -19,6 +19,8 @@ public class UsableVeicleDTO extends PageParam {
@ApiModelProperty("城市") @ApiModelProperty("城市")
Integer addrCity; Integer addrCity;
@ApiModelProperty("排除城市")
Integer excludeCity;
@ApiModelProperty("经度") @ApiModelProperty("经度")
Double lon; Double lon;
@ApiModelProperty("纬度") @ApiModelProperty("纬度")
......
...@@ -245,6 +245,7 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements ...@@ -245,6 +245,7 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
rbd.setLon(dto.getLon()); rbd.setLon(dto.getLon());
rbd.setLat(dto.getLat()); rbd.setLat(dto.getLat());
rbd.setAddrCity(dto.getAddrCity()); rbd.setAddrCity(dto.getAddrCity());
rbd.setExcludeCity(dto.getExcludeCity());
rbd.setParkBranchCompanyId(dto.getStartCompanyId()); rbd.setParkBranchCompanyId(dto.getStartCompanyId());
rbd.setStartCompanyId(dto.getStartCompanyId()); rbd.setStartCompanyId(dto.getStartCompanyId());
rbd.setEndCompanyId(dto.getEndCompanyId()); rbd.setEndCompanyId(dto.getEndCompanyId());
......
...@@ -1251,12 +1251,17 @@ ...@@ -1251,12 +1251,17 @@
) )
</if> </if>
</if> </if>
<if test=" modelId != null "> <if test=" modelId != null ">
and v.model_id = #{modelId} and v.model_id = #{modelId}
</if> </if>
<if test=" addrCity != null "> <if test=" addrCity != null ">
and bc.addr_city = #{addrCity} and bc.addr_city = #{addrCity}
</if> </if>
<!-- 根据前后record 过滤车辆 -->
<if test="excludeCity != null ">
and bc.addr_city != #{excludeCity}
</if>
<if test=" hotSign != null "> <if test=" hotSign != null ">
and vm.hot_sign = #{hotSign} and vm.hot_sign = #{hotSign}
</if> </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