|
@@ -151,4 +151,15 @@ public class StNzydkController {
|
|
|
public boolean deleteById(@PathVariable Long objectid) {
|
|
|
return stNzydkService.removeById(objectid);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 编辑农转用地块信息
|
|
|
+ * @param stNzydk 农转用地块信息
|
|
|
+ * @return 更新是否成功
|
|
|
+ */
|
|
|
+ @PutMapping("/update")
|
|
|
+ public boolean updateNzydk(@RequestBody StNzydk stNzydk) {
|
|
|
+ return stNzydkService.updateById(stNzydk);
|
|
|
+ }
|
|
|
+
|
|
|
}
|