kongdeqiang
2024-05-16 0b6189c1c208a4f1c4cd4b230dba10b3581d1ff9
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/AreaSectionController.java
@@ -47,6 +47,16 @@
        return new ResultUtil<List<AreaSection>>().setData(list);
    }
    @RequestMapping(value = "/getAll2", method = RequestMethod.GET)
    @ApiOperation(value = "获取全部数据")
    public Result<List<AreaSection>> getAll2(String areaId) {
        QueryWrapper<AreaSection> wrapper = new QueryWrapper<>();
        wrapper.eq("area_id",areaId);
        List<AreaSection> list = iAreaSectionService.list(wrapper);
        return new ResultUtil<List<AreaSection>>().setData(list);
    }
    @RequestMapping(value = "/getByPage", method = RequestMethod.GET)
    @ApiOperation(value = "分页获取")
    public Result<IPage<AreaSection>> getByPage(String areaId,PageVo page) {