|
|
@ -109,11 +109,21 @@ public class HighOrderController { |
|
|
|
HttpServletRequest request) { |
|
|
|
HttpServletRequest request) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
|
|
|
|
|
|
|
|
// // 用户
|
|
|
|
SessionObject sessionObject = userCenter.getSessionObject(request); |
|
|
|
// SessionObject sessionObject = userCenter.getSessionObject(request);
|
|
|
|
UserInfoModel userInfoModel = (UserInfoModel) sessionObject.getObject(); |
|
|
|
// HighUserModel userInfoModel = (HighUserModel) sessionObject.getObject();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String,Object> map = new HashMap<>(); |
|
|
|
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("status", status); |
|
|
|
map.put("orderNo", orderNo); |
|
|
|
map.put("orderNo", orderNo); |
|
|
|
map.put("phone", phone); |
|
|
|
map.put("phone", phone); |
|
|
|