添加字段和表
parent
30dec3ebf2
commit
0651ed80e8
|
@ -97,7 +97,7 @@ public class TaskInfoController {
|
||||||
|
|
||||||
@PostMapping("/updateByJson")
|
@PostMapping("/updateByJson")
|
||||||
@Operation(summary = "修改任务Json", description = "修改任务Json")
|
@Operation(summary = "修改任务Json", description = "修改任务Json")
|
||||||
public Result updateByJson(@RequestParam Long id ,@RequestParam("json") String json) {
|
public Result updateByJson(@RequestParam 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