|
@@ -42,6 +42,15 @@ public class SpaceController extends JeecgController<Space, ISpaceService>{
|
|
|
@Autowired
|
|
|
private AutoCodeUtil autoCodeUtil;
|
|
|
|
|
|
+ @ApiOperation(value="空间管理--列表查询", notes="空间管理--列表查询")
|
|
|
+ @GetMapping(value = "/list")
|
|
|
+ public Result<List<Space>> queryList(Space space,HttpServletRequest req){
|
|
|
+ QueryWrapper<Space> queryWrapper = new QueryWrapper<>();
|
|
|
+ queryWrapper.like(space.getName() != null && !space.getName().equals(""),"name",space.getName());
|
|
|
+ List<Space> list = spaceService.list(queryWrapper);
|
|
|
+ return Result.OK(list);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 分页列表查询
|
|
|
*
|