|
|
|
@ -109,11 +109,21 @@ public class HighOrderController { |
|
|
|
|
HttpServletRequest request) { |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
// // 用户
|
|
|
|
|
// SessionObject sessionObject = userCenter.getSessionObject(request);
|
|
|
|
|
// HighUserModel userInfoModel = (HighUserModel) sessionObject.getObject();
|
|
|
|
|
SessionObject sessionObject = userCenter.getSessionObject(request); |
|
|
|
|
UserInfoModel userInfoModel = (UserInfoModel) sessionObject.getObject(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String,Object> map = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
if (userInfoModel.getSecRole().getRoleType() == 5) { |
|
|
|
|
map.put("companyId" , userInfoModel.getBsCompany().getId()); |
|
|
|
|
} |
|
|
|
|
if (userInfoModel.getSecRole().getRoleType() == 2) { |
|
|
|
|
map.put("merchantId" , userInfoModel.getMerchant().getId()); |
|
|
|
|
} |
|
|
|
|
if (userInfoModel.getSecRole().getRoleType() == 3) { |
|
|
|
|
map.put("storeId" , userInfoModel.getMerchantStore().getId()); |
|
|
|
|
} |
|
|
|
|
map.put("status", status); |
|
|
|
|
map.put("orderNo", orderNo); |
|
|
|
|
map.put("phone", phone); |
|
|
|
|