添加字段和表
parent
0651ed80e8
commit
c54f3add99
|
@ -95,9 +95,9 @@ public class TaskInfoController {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/updateByJson")
|
@PostMapping("/updateByJson/{id}")
|
||||||
@Operation(summary = "修改任务Json", description = "修改任务Json")
|
@Operation(summary = "修改任务Json", description = "修改任务Json")
|
||||||
public Result updateByJson(@RequestParam Long id ,@RequestBody String json) {
|
public Result updateByJson(@PathVariable("id") Long id ,@RequestBody String json) {
|
||||||
UpdateWrapper<TaskInfo> wrapper = new UpdateWrapper<>();
|
UpdateWrapper<TaskInfo> wrapper = new UpdateWrapper<>();
|
||||||
wrapper.eq("id",id);
|
wrapper.eq("id",id);
|
||||||
wrapper.set("json",json);
|
wrapper.set("json",json);
|
||||||
|
|
Loading…
Reference in New Issue