@RestController @RequestMapping(value="/devtools/templateGroup") public class TemplateGroupController extends Object
| 构造器和说明 |
|---|
TemplateGroupController() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity |
copy(String id)
拷贝模板
|
org.springframework.http.ResponseEntity |
delete(String ids)
批量删除模板
|
org.springframework.http.ResponseEntity<List<TemplateGroup>> |
list()
模板列表数据
|
org.springframework.http.ResponseEntity |
queryById(String id)
查询数据
|
org.springframework.http.ResponseEntity |
queryFiles(String id,
String tableId)
查询数据
|
org.springframework.http.ResponseEntity |
save(TemplateGroupDTO templateGroupDTO)
保存模板
|
@GetMapping(value="list") public org.springframework.http.ResponseEntity<List<TemplateGroup>> list()
@GetMapping(value="queryById")
public org.springframework.http.ResponseEntity queryById(@RequestParam(value="id")
String id)
@GetMapping(value="queryGenFiles")
public org.springframework.http.ResponseEntity queryFiles(@RequestParam(value="id")
String id,
@RequestParam(value="tableId")
String tableId)
throws Exception
Exception@PostMapping(value="save")
public org.springframework.http.ResponseEntity save(@RequestBody
TemplateGroupDTO templateGroupDTO)
@PutMapping(value="copy")
public org.springframework.http.ResponseEntity copy(@RequestParam(value="id")
String id)
@DeleteMapping(value="delete")
public org.springframework.http.ResponseEntity delete(@RequestParam(value="ids")
String ids)
Copyright © 2022. All rights reserved.