Commit bb121755 authored by hezhen's avatar hezhen

123

parent a537f95d
...@@ -9,8 +9,11 @@ import java.util.List; ...@@ -9,8 +9,11 @@ import java.util.List;
@Data @Data
public class VehicleDispatchInfoDto extends PageParam { public class VehicleDispatchInfoDto extends PageParam {
@ApiModelProperty(value = "分公司") @ApiModelProperty(value = "分公司id")
private List<Integer> companyList; private String companyId;
@ApiModelProperty(value = "片区id")
private String zoneId;
@ApiModelProperty(value = "状态") @ApiModelProperty(value = "状态")
private Integer status; private Integer status;
...@@ -18,5 +21,9 @@ public class VehicleDispatchInfoDto extends PageParam { ...@@ -18,5 +21,9 @@ public class VehicleDispatchInfoDto extends PageParam {
@ApiModelProperty(value = "预定月份") @ApiModelProperty(value = "预定月份")
private String dispatchMonth; private String dispatchMonth;
@ApiModelProperty(value = "预定月份")
private List<Integer> companyList;
} }
...@@ -60,7 +60,9 @@ public class VehicleDispatchInfoBiz extends BaseBiz<VehicleDispatchInfoMapper,Ve ...@@ -60,7 +60,9 @@ public class VehicleDispatchInfoBiz extends BaseBiz<VehicleDispatchInfoMapper,Ve
if (userDTO != null) { if (userDTO != null) {
List<Integer> companyList=new ArrayList<>(); List<Integer> companyList=new ArrayList<>();
if (userDTO.getDataAll() == 1) { if (userDTO.getDataAll() == 1) {
companyList=dispatchInfoDto.getCompanyList(); String zoneId= dispatchInfoDto.getZoneId();
String companyId=dispatchInfoDto.getCompanyId();
companyList=vehicleBiz.dataCompany(zoneId,companyId);
}else { }else {
companyList = vehicleBiz.dataCompany(userDTO.getDataZone(), userDTO.getDataCompany()); companyList = vehicleBiz.dataCompany(userDTO.getDataZone(), userDTO.getDataCompany());
} }
......
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