类 BaseController<BS extends BaseServiceImpl<?,M>,M extends SuperEntity>

java.lang.Object
cn.miniants.framework.api.ApiController
cn.miniants.framework.controller.BaseController<BS,M>

public class BaseController<BS extends BaseServiceImpl<?,M>,M extends SuperEntity> extends ApiController
  • 字段详细资料

  • 构造器详细资料

    • BaseController

      public BaseController()
  • 方法详细资料

    • add

      @PostMapping public boolean add(@Validated(Create.class) @RequestBody M entity)
    • get

      @GetMapping("/{id}") public M get(@PathVariable Long id)
    • update

      @PutMapping public boolean update(@Validated(Update.class) @RequestBody M entity)
    • delete

      @DeleteMapping("/{id}") public boolean delete(@PathVariable Long id)
    • page

      @GetMapping("/page") public com.baomidou.mybatisplus.extension.plugins.pagination.Page<?> page(PageParam<?> myPageParam)