|
@@ -5,6 +5,7 @@ import com.siwei.apply.domain.res.LandTypeTreeRes;
|
|
|
import com.siwei.apply.domain.res.TdgyRes;
|
|
import com.siwei.apply.domain.res.TdgyRes;
|
|
|
import com.siwei.apply.domain.vo.TdgyUpdateVo;
|
|
import com.siwei.apply.domain.vo.TdgyUpdateVo;
|
|
|
import com.siwei.apply.domain.vo.TdgyVo;
|
|
import com.siwei.apply.domain.vo.TdgyVo;
|
|
|
|
|
+import com.siwei.apply.service.LandOneCodeService;
|
|
|
import com.siwei.apply.service.NodeLandService;
|
|
import com.siwei.apply.service.NodeLandService;
|
|
|
import com.siwei.apply.service.ProjectService;
|
|
import com.siwei.apply.service.ProjectService;
|
|
|
import com.siwei.apply.service.TdgyService;
|
|
import com.siwei.apply.service.TdgyService;
|
|
@@ -33,6 +34,10 @@ public class TdgyController extends BaseController {
|
|
|
NodeLandService nodeLandService;
|
|
NodeLandService nodeLandService;
|
|
|
@Autowired
|
|
@Autowired
|
|
|
ProjectService projectService;
|
|
ProjectService projectService;
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private LandOneCodeService landOneCodeService;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 添加土地供应
|
|
* 添加土地供应
|
|
|
*/
|
|
*/
|
|
@@ -130,6 +135,8 @@ public class TdgyController extends BaseController {
|
|
|
tdgyService.updateHasOnchain(id,projectId, hasOnchain);
|
|
tdgyService.updateHasOnchain(id,projectId, hasOnchain);
|
|
|
// 更新项目表的上链数量
|
|
// 更新项目表的上链数量
|
|
|
projectService.countOnChinaNum(projectId);
|
|
projectService.countOnChinaNum(projectId);
|
|
|
|
|
+ //这里生成资源吗
|
|
|
|
|
+ landOneCodeService.addOrUpdateLandOneCodeInfo(projectId,id);
|
|
|
return R.ok();
|
|
return R.ok();
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
return R.fail(502,e.getMessage());
|
|
return R.fail(502,e.getMessage());
|