Browse Source

TASK 45751 地块属性和地块经营

master
yangfuda 1 week ago
parent
commit
11bbcb35ec
1 changed files with 6 additions and 0 deletions
  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 View File

@@ -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…
Cancel
Save