Commit 81d025b0 authored by hezhen's avatar hezhen

123

parent 0f675c7f
...@@ -116,7 +116,9 @@ public class VehicleExtensionBiz extends BaseBiz<VehicleEextensionMapper, Vehicl ...@@ -116,7 +116,9 @@ public class VehicleExtensionBiz extends BaseBiz<VehicleEextensionMapper, Vehicl
}else { }else {
VehicleApply vehicleApply = vehicleApplyBiz.selectById(extensionFindDTO.getVehicleApplyId()); VehicleApply vehicleApply = vehicleApplyBiz.selectById(extensionFindDTO.getVehicleApplyId());
extensionFindDTO.setGoodsType(vehicleApply.getGoodsType()); extensionFindDTO.setGoodsType(vehicleApply.getGoodsType());
extensionFindDTO.setCataIds(Arrays.asList(vehicleApply.getExtensionList().split(",")).parallelStream().map(s -> Integer.valueOf(s)).collect(Collectors.toList())); if (StringUtils.isNotBlank(vehicleApply.getExtensionList())){
extensionFindDTO.setCataIds(Arrays.asList(vehicleApply.getExtensionList().split(",")).parallelStream().map(s -> Integer.valueOf(s)).collect(Collectors.toList()));
}
} }
extensionFindDTO.setParentId(0); extensionFindDTO.setParentId(0);
List<VehicleExtensionVO> vehicleExtensionVOS = mapper.selectListByPlatCata(extensionFindDTO); List<VehicleExtensionVO> vehicleExtensionVOS = mapper.selectListByPlatCata(extensionFindDTO);
......
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