修复仓库字典单据显示问题

purchase^2
zhengmingliang 2 years ago
parent 82830c9c1c
commit 98205efb9f

@ -119,9 +119,20 @@ public class BussinessTypeController {
bussinessTypeFilterRequest.setAdvanceType(bussinessLocalTypeEntity.isAdvanceType());
}
//查询该仓库绑定的单据
List<WarehouseBussinessTypeEntity> warehouseBussinessTypeEntityList=warehouseBussinessTypeService.getListByCode(bussinessTypeFilterRequest.getCode());
List<BussinessTypResponse> bussinessTypeEntities;
bussinessTypeEntities = bussinessTypeService.filterJoinList(bussinessTypeFilterRequest);
for (BussinessTypResponse w1:bussinessTypeEntities){
for (WarehouseBussinessTypeEntity w2:warehouseBussinessTypeEntityList){
if(w1.getAction().equals(w2.getAction())){
w1.setCheckSelect(true);
break;
}
}
}
PageInfo<BussinessTypResponse> pageInfo;
pageInfo = new PageInfo<>(bussinessTypeEntities);
PageSimpleResponse<BussinessTypResponse> pageSimpleResponse = new PageSimpleResponse<>();

@ -27,5 +27,6 @@ public class BussinessTypeFilterRequest extends ListPageRequest {
private String locInvCode;
private String locSubInvCode;
private String lastUpdateTime;
private String code;
}

@ -74,4 +74,6 @@ public class BussinessTypResponse {
private boolean supplementAll; //是否全量补单
private boolean checkCopy;
private boolean secCheckCopy;
private boolean checkSelect; //判断多选框是否勾选
}

Loading…
Cancel
Save