| | |
| | | @ApiImplicitParam(name = "company",value = "单位名称"), |
| | | @ApiImplicitParam(name = "realname",value = "姓名"), |
| | | @ApiImplicitParam(name = "idcard",value = "身份证号"), |
| | | @ApiImplicitParam(name = "province",value = "省"), |
| | | @ApiImplicitParam(name = "city",value = "市"), |
| | | @ApiImplicitParam(name = "county",value = "县"), |
| | | }) |
| | | public Msg getSuperviseUserInfo(@RequestParam(defaultValue = "0") Integer pageIndex, @RequestParam(defaultValue = "10") Integer pageSize, String sort,String order, |
| | | String username,String company,String realname, String idcard){ |
| | | String username,String company,String realname, String idcard, String province,String city,String county){ |
| | | Msg msg = new Msg(); |
| | | msg.setCode("200"); |
| | | msg.setMessage("success"); |
| | |
| | | if (StringUtils.isNotBlank(idcard)){ |
| | | condition.put("idcard",idcard.trim()); |
| | | } |
| | | if (StringUtils.isNotBlank(province)){ |
| | | condition.put("province",province.trim()); |
| | | |
| | | if(StringUtils.isNotBlank(userInfoCurrent.getProvince())){ |
| | | condition.put("province", userInfoCurrent.getProvince()); |
| | | if(StringUtils.isNotBlank(city)){ |
| | | condition.put("city", city); |
| | | } |
| | | if(StringUtils.isNotBlank(county)){ |
| | | condition.put("county", county); |
| | | } |
| | | |
| | | }else { |
| | | if(StringUtils.isNotBlank(userInfoCurrent.getProvince())){ |
| | | condition.put("province", userInfoCurrent.getProvince()); |
| | | } |
| | | if(StringUtils.isNotBlank(userInfoCurrent.getCity())){ |
| | | condition.put("city", userInfoCurrent.getCity()); |
| | | } |
| | | if(StringUtils.isNotBlank(userInfoCurrent.getCounty())){ |
| | | condition.put("county", userInfoCurrent.getCounty()); |
| | | } |
| | | } |
| | | if(StringUtils.isNotBlank(userInfoCurrent.getCity())){ |
| | | condition.put("city", userInfoCurrent.getCity()); |
| | | } |
| | | if(StringUtils.isNotBlank(userInfoCurrent.getCounty())){ |
| | | condition.put("county", userInfoCurrent.getCounty()); |
| | | } |
| | | |
| | | |
| | | |
| | | pageInfo.setCondition(condition); |
| | | userService.selectSuperviseUserDataGrid(pageInfo); |
| | |
| | | |
| | | /** |
| | | * 获取监管辖区内的企业 |
| | | */ |
| | | /** |
| | | * 获取专家用户列表 |
| | | */ |
| | | @GetMapping("/company/list") |
| | | @ApiOperation(value = "获取监管辖区企业数据",response = Msg.class) |