|
@@ -0,0 +1,45 @@
|
|
|
+package com.onemap.apply.controller.tdgy;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.core.JsonProcessingException;
|
|
|
+import com.onemap.apply.domain.tdgy.vo.IdleLandListVo;
|
|
|
+import com.onemap.apply.domain.tdgy.vo.LandIdleConfirmVo;
|
|
|
+import com.onemap.apply.domain.tdgy.vo.LandIdleDisposalVo;
|
|
|
+import com.onemap.apply.domain.tdgy.vo.UpdateTdgyVo;
|
|
|
+import com.onemap.apply.service.tdgy.TdgyService;
|
|
|
+import com.onemap.common.core.web.domain.RequestResult;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+import javax.validation.Valid;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 闲置土地统计
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/tdtj")
|
|
|
+public class TdgsController {
|
|
|
+ @Resource
|
|
|
+ private TdgyService tdgyService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改土地供应
|
|
|
+ *
|
|
|
+ * @param updateTdgyVo
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/overview")
|
|
|
+ public RequestResult overviewTdtj(@Valid @RequestBody UpdateTdgyVo updateTdgyVo) {
|
|
|
+ RequestResult requestResult = tdgyService.updateTdgy(updateTdgyVo);
|
|
|
+ return requestResult;
|
|
|
+ }
|
|
|
+ @GetMapping("/district")
|
|
|
+ public RequestResult districtTdtj(@Valid @RequestBody UpdateTdgyVo updateTdgyVo) {
|
|
|
+ RequestResult requestResult = tdgyService.updateTdgy(updateTdgyVo);
|
|
|
+ return requestResult;
|
|
|
+ }
|
|
|
+ @GetMapping("/reason")
|
|
|
+ public RequestResult reasonTdtj(@Valid @RequestBody UpdateTdgyVo updateTdgyVo) {
|
|
|
+ RequestResult requestResult = tdgyService.updateTdgy(updateTdgyVo);
|
|
|
+ return requestResult;
|
|
|
+ }
|
|
|
+}
|