Commit 684d1296 authored by jiaorz's avatar jiaorz

修改租車訂單地址,修改车辆预定时添加订单号

parent 8163378d
...@@ -99,7 +99,12 @@ public class BackStageOrderController extends CommonBaseController implements Us ...@@ -99,7 +99,12 @@ public class BackStageOrderController extends CommonBaseController implements Us
log.info("获取用户信息:objectRestResponse = {}", objectRestResponse.getData()); log.info("获取用户信息:objectRestResponse = {}", objectRestResponse.getData());
Map<Integer, AppUserVo> appvoMap = new HashMap<Integer, AppUserVo>(); Map<Integer, AppUserVo> appvoMap = new HashMap<Integer, AppUserVo>();
if(objectRestResponse.getData() != null) { if(objectRestResponse.getData() != null) {
appvoMap = objectRestResponse.getData().stream().collect(Collectors.toMap(AppUserVo::getUserid, a -> a,(k1,k2)->k1)); for(AppUserVo appUserVo : objectRestResponse.getData()) {
if(appUserVo != null) {
appvoMap.put(appUserVo.getUserid(), appUserVo);
}
}
} }
for (OrderListVo orderPageVO : list) { for (OrderListVo orderPageVO : list) {
......
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