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