Sfoglia il codice sorgente

TASK 45751 地块属性和地块经营

master
yangfuda 1 settimana fa
parent
commit
11bbcb35ec
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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 Vedi 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));
}



Caricamento…
Annulla
Salva