소스 검색

TASK 45751 地块属性和地块经营

master
yangfuda 1 주 전
부모
커밋
648cdf5531
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +6
    -1
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/resource/TResourceOperationController.java

+ 6
- 1
ruoyi-admin/src/main/java/com/ruoyi/web/controller/resource/TResourceOperationController.java 파일 보기

@@ -187,7 +187,12 @@ public class TResourceOperationController extends BaseController
if(dept.getOrgCode().length() < 12){
return error("非村、组级行政区划,不允许添加地块!");
}

TResourceLand tResourceLand = tResourceLandService.selectTResourceLandByDkbm(tResourceOperation.getDkbm());
if(tResourceLand != null){
tResourceLand.setDkbm(tResourceOperation.getDkbm());
tResourceLand.setSurveyStatus(tResourceOperation.getSurveyStatus());
tResourceLandService.updateTResourceLand(tResourceLand);
}
tResourceOperation.setImportCode(dept.getImportCode());
return toAjax(tResourceOperationService.insertTResourceOperation(tResourceOperation));
}


불러오는 중...
취소
저장