Commit 3464b064 authored by jiaorz's avatar jiaorz

后台导出车辆信息

parent edfa7ebd
...@@ -34,13 +34,15 @@ public class BranchCompanyVehicleCountBiz extends BaseBiz<BranchCompanyVehicleCo ...@@ -34,13 +34,15 @@ public class BranchCompanyVehicleCountBiz extends BaseBiz<BranchCompanyVehicleCo
vehicleInformationDownloadBiz.add(); vehicleInformationDownloadBiz.add();
Integer pageNo = branchCompanyVehicleCountDTO.getPage() == null ? 1 : branchCompanyVehicleCountDTO.getPage(); Integer pageNo = branchCompanyVehicleCountDTO.getPage() == null ? 1 : branchCompanyVehicleCountDTO.getPage();
Integer pageSize = branchCompanyVehicleCountDTO.getLimit() == null ? 10 : branchCompanyVehicleCountDTO.getLimit(); Integer pageSize = branchCompanyVehicleCountDTO.getLimit() == null ? 10 : branchCompanyVehicleCountDTO.getLimit();
Integer type = branchCompanyVehicleCountDTO.getType() == null ? 1 : branchCompanyVehicleCountDTO.getType();
branchCompanyVehicleCountDTO.setPage(pageNo); branchCompanyVehicleCountDTO.setPage(pageNo);
branchCompanyVehicleCountDTO.setLimit(pageSize); branchCompanyVehicleCountDTO.setLimit(pageSize);
if (branchCompanyVehicleCountDTO.getType() == 1) { branchCompanyVehicleCountDTO.setType(type);
if (type == 1) {
branchCompanyVehicleCountDTO.setDayNum(1); branchCompanyVehicleCountDTO.setDayNum(1);
} else if (branchCompanyVehicleCountDTO.getType() == 2) { } else if (type == 2) {
branchCompanyVehicleCountDTO.setDayNum(7); branchCompanyVehicleCountDTO.setDayNum(7);
} else if (branchCompanyVehicleCountDTO.getType() == 3) { } else if (type == 3) {
branchCompanyVehicleCountDTO.setDayNum(getCurrentMonthLastDay()); branchCompanyVehicleCountDTO.setDayNum(getCurrentMonthLastDay());
} }
Query query = new Query(branchCompanyVehicleCountDTO); Query query = new Query(branchCompanyVehicleCountDTO);
......
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