类 ValidateTypeController

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

@RestController @RequestMapping("/devtools/validateType") public class ValidateTypeController extends Object
验证类型Controller
版本:
2021-09-15
作者:
刘高峰
  • 构造器详细资料

    • ValidateTypeController

      public ValidateTypeController()
  • 方法详细资料

    • list

      @PreAuthorize("hasAuthority(\'gencode:validateType:list\')") @GetMapping("list") public org.springframework.http.ResponseEntity<com.baomidou.mybatisplus.core.metadata.IPage<ValidateType>> list(ValidateType validateType, com.baomidou.mybatisplus.extension.plugins.pagination.Page<ValidateType> page) throws Exception
      验证类型列表数据
      抛出:
      Exception
    • queryById

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

      @PostMapping("save") public org.springframework.http.ResponseEntity save(@Valid @RequestBody @Valid ValidateTypeDTO validateTypeDTO) throws Exception
      保存验证类型
      抛出:
      Exception
    • delete

      @DeleteMapping("delete") public org.springframework.http.ResponseEntity delete(@RequestParam("ids") String ids)
      批量删除验证类型