Commit 422ce7dd authored by 周健威's avatar 周健威

修改租车bug

parent 9eff815f
......@@ -47,12 +47,4 @@ public class RentVehicleBookDTO extends PageParam {
@ApiModelProperty("订单号")
private String orderNo;
public void setBookStartDate(String bookStartDate) {
this.bookStartDate = bookStartDate+ " 00:00:00";
}
public void setBookEndDate(String bookEndDate) {
this.bookEndDate = bookEndDate+ " 23:59:59";
}
}
\ No newline at end of file
......@@ -398,6 +398,8 @@ public class VehicleController extends BaseController<VehicleBiz> {
Integer operatorId = USER_APP;
String userName = dto.getUserName();
//BaseContextHandler.getName();
dto.setBookStartDate(dto.getBookStartDate()+ " 00:00:00");
dto.setBookEndDate(dto.getBookEndDate()+ " 23:59:59");
BookVehicleVO bookVehicleVo = BeanUtil.toBean(dto, BookVehicleVO.class);
dto.setLimit(1);
dto.setPage(1);
......
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