|
|
@@ -126,7 +126,7 @@ public class CommonController {
|
|
|
}
|
|
|
return iCommonService.queryOrganSelect(vo, request);
|
|
|
} catch (Exception e) {
|
|
|
- log.error("机构下拉查询加载 会员、经纪人信息失败,失败原因:" + Arrays.toString(e.getStackTrace()));
|
|
|
+ log.error("机构下拉查询加载 会员、经纪人信息失败,失败原因:" + Arrays.toString(e.getStackTrace()));
|
|
|
return AjaxResult.error(Constants.Error_Code_Design, MessageType.MESSAGE_ERROR_CODE_SYSTEM002.getCode(), request.getHeader("Accept-Language"));
|
|
|
}
|
|
|
}
|
|
|
@@ -136,7 +136,7 @@ public class CommonController {
|
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
|
public AjaxResult<OrganSelectResult> queryExchSonOrgin(OrganSelectParam vo, HttpServletRequest request) {
|
|
|
log.debug("vo.parentuserid={}", vo.getParentuserid());
|
|
|
- return iCommonService.queryExchSonOrgin(vo,request);
|
|
|
+ return iCommonService.queryExchSonOrgin(vo, request);
|
|
|
}
|
|
|
|
|
|
@ApiOperation("获取省、市、县信息")
|
|
|
@@ -319,8 +319,8 @@ public class CommonController {
|
|
|
@ApiOperation("子机构管理-->获取机构及所有子机构")
|
|
|
@RequestMapping(method = RequestMethod.GET, value = "/getAreaAndAllChilds")
|
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
|
- private AjaxResult<UserAccountRspResult> getAreaAndAllChilds(HttpServletRequest request) {
|
|
|
- return iOrganSonService.getAreaAndAllChilds(request);
|
|
|
+ private AjaxResult<UserAccountRspResult> getAreaAndAllChilds(HttpServletRequest request, Long areauserid) {
|
|
|
+ return iOrganSonService.getAreaAndAllChilds(request, areauserid);
|
|
|
}
|
|
|
|
|
|
@ApiOperation("子机构管理-->获取机构及所有子机构")
|
|
|
@@ -408,7 +408,7 @@ public class CommonController {
|
|
|
return iCommonService.queryTAAccountList(param, request);
|
|
|
}
|
|
|
|
|
|
- @RequestMapping(method = RequestMethod.GET, value ="/common/queryOrganSelectRole")
|
|
|
+ @RequestMapping(method = RequestMethod.GET, value = "/common/queryOrganSelectRole")
|
|
|
@ApiOperation("按角色加载机构")
|
|
|
@ApiResponse(code = 200, message = "成功", response = AjaxResult.class)
|
|
|
public AjaxResult<OrganSelectResult> queryOrganSelectRole(OrganSelectParam vo, HttpServletRequest request) {
|