| | |
| | | |
| | | /** |
| | | * 根据角色获取功能集合数据 |
| | | * @param type |
| | | * @param roleName |
| | | * @return |
| | | */ |
| | | @GetMapping("/getFuncList") |
| | | public R getFuncList(String roleName) { |
| | | return R.data(doorplateAddressService.getFuncList(roleName)); |
| | | public R getFuncList(Integer type,String roleName) { |
| | | return R.data(doorplateAddressService.getFuncList(type,roleName)); |
| | | } |
| | | |
| | | /** |
| | | * 获取楼盘相关集合数据 |
| | | * @param name 名称 |
| | | * @param code 编号 |
| | | * @param type 类型 1:社区 2:小区 3:楼栋 4:户室 |
| | | * @return |
| | | */ |
| | | @GetMapping("/getHousesList") |
| | | public R getHousesList(String name,String code,Integer type) { |
| | | return R.data(doorplateAddressService.getHousesList(name,code,type)); |
| | | } |
| | | |
| | | /** |
| | | * 查询房屋及出租详情信息 |
| | | * @param code 门牌地址编号 |
| | | * @return |
| | | */ |
| | | @GetMapping("/getHouseRentInfo") |
| | | public R getHouseRentInfo(String code) { |
| | | return R.data(doorplateAddressService.getHouseRentInfo(code)); |
| | | } |
| | | |
| | | |