Parcourir la source

TASK 45751 地块属性和地块经营

master
yangfuda il y a 1 semaine
Parent
révision
11bbcb35ec
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  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 Voir le fichier

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



Chargement…
Annuler
Enregistrer