|
@@ -1,13 +1,13 @@
|
|
|
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.apply.service.tdgy.TdtjService;
|
|
|
import com.onemap.common.core.web.domain.RequestResult;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import javax.validation.Valid;
|
|
@@ -19,27 +19,28 @@ import javax.validation.Valid;
|
|
|
@RequestMapping("/tdtj")
|
|
|
public class TdgsController {
|
|
|
@Resource
|
|
|
- private TdgyService tdgyService;
|
|
|
+ private TdtjService tdtjService;
|
|
|
|
|
|
/**
|
|
|
* 修改土地供应
|
|
|
*
|
|
|
- * @param updateTdgyVo
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/overview")
|
|
|
- public RequestResult overviewTdtj(@Valid @RequestBody UpdateTdgyVo updateTdgyVo) {
|
|
|
- RequestResult requestResult = tdgyService.updateTdgy(updateTdgyVo);
|
|
|
+ public RequestResult overviewTdtj() {
|
|
|
+ RequestResult requestResult = tdtjService.getOverview();
|
|
|
return requestResult;
|
|
|
}
|
|
|
+
|
|
|
@GetMapping("/district")
|
|
|
- public RequestResult districtTdtj(@Valid @RequestBody UpdateTdgyVo updateTdgyVo) {
|
|
|
- RequestResult requestResult = tdgyService.updateTdgy(updateTdgyVo);
|
|
|
+ public RequestResult districtTdtj() {
|
|
|
+ RequestResult requestResult = tdtjService.getDistrict();
|
|
|
return requestResult;
|
|
|
}
|
|
|
+
|
|
|
@GetMapping("/reason")
|
|
|
- public RequestResult reasonTdtj(@Valid @RequestBody UpdateTdgyVo updateTdgyVo) {
|
|
|
- RequestResult requestResult = tdgyService.updateTdgy(updateTdgyVo);
|
|
|
+ public RequestResult reasonTdtj() {
|
|
|
+ RequestResult requestResult = tdtjService.getReason();
|
|
|
return requestResult;
|
|
|
}
|
|
|
}
|