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