|
@ -47,7 +47,7 @@ public class DfYhV2Controller extends ApprovalAbstractController<DfRecordSearchV |
|
|
@Log(title = "堤防养护新增或修改v2", businessType = BusinessType.UPDATE) |
|
|
@Log(title = "堤防养护新增或修改v2", businessType = BusinessType.UPDATE) |
|
|
@PostMapping("/{commit}") |
|
|
@PostMapping("/{commit}") |
|
|
public Response<DfYhDetailV2Dto> edit(@Validated(UpdateGroup.class) |
|
|
public Response<DfYhDetailV2Dto> edit(@Validated(UpdateGroup.class) |
|
|
@RequestBody DfRecordDetailV2Dto dfYh, |
|
|
@RequestBody DfYhDetailV2Dto dfYh, |
|
|
@PathVariable("commit") Boolean commit) { |
|
|
@PathVariable("commit") Boolean commit) { |
|
|
return Response.ok(dfYhV2Service.edit(dfYh, commit)); |
|
|
return Response.ok(dfYhV2Service.edit(dfYh, commit)); |
|
|
} |
|
|
} |
|
|