浏览代码

TASK 45751 地块属性和地块经营

master
yangfuda 1周前
父节点
当前提交
11bbcb35ec
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/resource/TResourceOperationController.java

+ 6
- 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/resource/TResourceOperationController.java 查看文件

@@ -200,6 +200,12 @@ public class TResourceOperationController extends BaseController
@PostMapping("/update")
public AjaxResult edit(@RequestBody TResourceOperation tResourceOperation)
{
TResourceLand tResourceLand = tResourceLandService.selectTResourceLandByDkbm(tResourceOperation.getDkbm());
if(tResourceLand != null){
tResourceLand.setDkbm(tResourceOperation.getDkbm());
tResourceLand.setSurveyStatus(tResourceOperation.getSurveyStatus());
tResourceLandService.updateTResourceLand(tResourceLand);
}
return toAjax(tResourceOperationService.updateTResourceOperation(tResourceOperation));
}



正在加载...
取消
保存