瀏覽代碼

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));
}



Loading…
取消
儲存