类 CustomObjController

java.lang.Object
com.jeeplus.devtools.controller.CustomObjController

@RestController @RequestMapping("/devtools/customObj") public class CustomObjController extends Object
自定义对象Controller
版本:
2021-02-15
作者:
lgf
  • 字段详细资料

  • 构造器详细资料

    • CustomObjController

      public CustomObjController()
  • 方法详细资料

    • list

      @GetMapping("list") public org.springframework.http.ResponseEntity<com.baomidou.mybatisplus.core.metadata.IPage<CustomObj>> list(CustomObj customObj, com.baomidou.mybatisplus.extension.plugins.pagination.Page<CustomObj> page) throws Exception
      自定义对象列表数据
      抛出:
      Exception
    • form

      @GetMapping("queryById") public org.springframework.http.ResponseEntity form(@RequestParam("id") String id)
      根据id查询数据
    • save

      @PostMapping("save") public org.springframework.http.ResponseEntity save(@RequestBody CustomObjDTO customObjDTO)
      保存自定义对象
    • add

      @PostMapping("add") public org.springframework.http.ResponseEntity add(@RequestParam(name="tableId",required=false) String tableId, @RequestParam(name="tableType",required=false) String tableType)
      添加自定义对象
    • getByValue

      @GetMapping("getByValue") public org.springframework.http.ResponseEntity getByValue(@RequestParam("value") String value)
    • delete

      @DeleteMapping("delete") public org.springframework.http.ResponseEntity delete(@RequestParam("ids") String ids)
      批量删除自定义对象