修改 订单查询

dev-discount
袁野 3 years ago
parent 63872bbe20
commit 7ee733c7b4
  1. 8
      hai-bweb/src/main/java/com/bweb/controller/HighOrderController.java
  2. 2
      hai-service/src/main/java/com/hai/service/impl/BsCompanyServiceImpl.java

@ -182,7 +182,13 @@ public class HighOrderController {
map.put("companyId", companyId);
} else if (userInfoModel.getSecUser().getObjectType() == 1) {
map.put("companyId", userInfoModel.getBsCompany().getId());
if (userInfoModel.getBsCompany().getId() == 3) {
map.put("companyId", 23);
} else {
map.put("companyId", userInfoModel.getBsCompany().getId());
}
map.put("merchantId", merchantId);
} else if (userInfoModel.getSecUser().getObjectType() == 2) {

@ -75,7 +75,7 @@ public class BsCompanyServiceImpl implements BsCompanyService {
bsOrganizationMapper.updateByPrimaryKey(secOrganization);
// 保存用户角色
SecUserRoleRel userRole = new SecUserRoleRel();
userRole.setUserId(secUser.getId());
userRole.setUserId(secUser.getId());
userRole.setRoleId(5L);
secUserRoleRelMapper.insert(userRole);
}

Loading…
Cancel
Save