|
|
|
@ -170,10 +170,18 @@ public class HighAgentController { |
|
|
|
|
@RequestParam(value = "agentPhone", required = false) String agentPhone, |
|
|
|
|
@RequestParam(value = "status", required = false) Integer status, |
|
|
|
|
@RequestParam(name = "pageNum", required = true) Integer pageNum, |
|
|
|
|
@RequestParam(name = "pageSize", required = true) Integer pageSize |
|
|
|
|
@RequestParam(name = "pageSize", required = true) Integer pageSize, HttpServletRequest request |
|
|
|
|
) { |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
//发布人员
|
|
|
|
|
SessionObject sessionObject = userCenter.getSessionObject(request); |
|
|
|
|
UserInfoModel userInfoModel = (UserInfoModel) sessionObject.getObject(); |
|
|
|
|
if (userInfoModel.getBsCompany() == null) { |
|
|
|
|
log.error("HighAgentController -> insertAgent() error!","该主角色没有权限"); |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.MENU_TREE_HAS_NOT_ERROR, ""); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Map<String, String> map = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(agentName)) { |
|
|
|
@ -186,6 +194,7 @@ public class HighAgentController { |
|
|
|
|
map.put("status", Integer.toString(status)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
map.put("operatorId" , Long.toString(userInfoModel.getSecUser().getId())); |
|
|
|
|
|
|
|
|
|
PageHelper.startPage(pageNum, pageSize); |
|
|
|
|
|
|
|
|
|