@RestController @RequestMapping(value="/devtools/showType") public class ShowTypeController extends Object
| 构造器和说明 |
|---|
ShowTypeController() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity |
delete(String ids)
批量删除控件类型
|
org.springframework.http.ResponseEntity<com.baomidou.mybatisplus.core.metadata.IPage<ShowType>> |
list(ShowType showType,
com.baomidou.mybatisplus.extension.plugins.pagination.Page<ShowType> page)
控件类型列表数据
|
org.springframework.http.ResponseEntity |
queryById(String id)
查询数据
|
org.springframework.http.ResponseEntity |
save(ShowType showType)
保存控件类型
|
@PreAuthorize(value="hasAuthority(\'gencode:showType:list\')") @GetMapping(value="list") public org.springframework.http.ResponseEntity<com.baomidou.mybatisplus.core.metadata.IPage<ShowType>> list(ShowType showType, com.baomidou.mybatisplus.extension.plugins.pagination.Page<ShowType> page) throws Exception
Exception@GetMapping(value="queryById")
public org.springframework.http.ResponseEntity queryById(@RequestParam(value="id")
String id)
@PostMapping(value="save")
public org.springframework.http.ResponseEntity save(@RequestBody
ShowType showType)
@PreAuthorize(value="hasAuthority(\'gencode:showType:del\')")
@DeleteMapping(value="delete")
public org.springframework.http.ResponseEntity delete(@RequestParam(value="ids")
String ids)
Copyright © 2022. All rights reserved.