|
@@ -44,6 +44,18 @@ public class AppFosterRecordController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * 修改树
|
|
|
+ */
|
|
|
+ @PutMapping("")
|
|
|
+ public R update(@RequestBody FosterRecord updateDTO) {
|
|
|
+ return R.ok().result(
|
|
|
+ iFosterRecordService.lambdaUpdate()
|
|
|
+ .set(FosterRecord::getName, updateDTO.getName())
|
|
|
+ .eq(FosterRecord::getId, updateDTO.getId())
|
|
|
+ .update());
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
|
|
|
* 领养记录-分页
|
|
|
* @param current
|