dev-discount
袁野 4 years ago
parent 8e1588d3af
commit f14850e083
  1. 16
      hai-bweb/src/main/java/com/bweb/controller/HighOrderController.java

@ -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);

Loading…
Cancel
Save