添加字段和表
parent
f08432fb39
commit
9fe6ed3027
|
@ -93,9 +93,9 @@ public class TaskInfoController {
|
||||||
return Result.success(null,"操作成功");
|
return Result.success(null,"操作成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/updateByJson/{id}/{json}")
|
@PostMapping("/updateByJson")
|
||||||
@Operation(summary = "修改任务Json", description = "修改任务Json")
|
@Operation(summary = "修改任务Json", description = "修改任务Json")
|
||||||
public Result updateByJson(@PathVariable("id") Long id ,@PathVariable("json") String json) {
|
public Result updateByJson(@RequestParam Long id ,@RequestParam("json") 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