21833014a630883a3d41cdaf92153f49bdd50550.svn-base
3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
package com.thinkgem.jeesite.modules.ycsl.web.ycdl;
import java.io.IOException;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.log4j.Logger;
import org.codehaus.jackson.JsonParseException;
import org.codehaus.jackson.map.JsonMappingException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import com.google.common.collect.Maps;
import com.thinkgem.jeesite.common.utils.JsonUtil;
import com.thinkgem.jeesite.modules.title.po.Fwsx;
import com.thinkgem.jeesite.modules.title.service.FwsxService;
import com.thinkgem.jeesite.modules.title.service.ZdxxService;
import com.thinkgem.jeesite.modules.title.service.ZsxService;
import com.thinkgem.jeesite.modules.ycsl.entity.YcslJbxx;
import com.thinkgem.jeesite.modules.ycsl.po.YcdlDto;
import com.thinkgem.jeesite.modules.ycsl.service.YcslJbxxService;
import com.thinkgem.jeesite.modules.ycsl.service.ycdl.YcdlService;
@RestController
@RequestMapping(value = "${frontPath}/ycdl")
public class YcdlController {
protected Logger logger = Logger.getLogger(getClass());
@Autowired
private YcdlService ycdlService;
/*
* 4.2 房屋不动产权证号
*/
@RequestMapping("/getBdcxxByBdcqzh")
public Map getBdcxxByBdcqzh(HttpServletRequest request) {
Map map = Maps.newHashMap();
map = ycdlService.getBdcxxByBdcqzh(request);
return map;
}
/*
* 4.3 房屋抵押证明号
*/
@RequestMapping("/getBdcxxByDyzmh")
public Map getBdcxxByDyzmh(HttpServletRequest request) {
Map map = Maps.newHashMap();
map = ycdlService.getBdcxxByDyzmh(request);
return map;
}
/*
* 4.4 房屋预告证明号
*/
@RequestMapping("/getBdcxxByYgzmh")
public Map getBdcxxByYgzmh(HttpServletRequest request) {
Map map = Maps.newHashMap();
map = ycdlService.getBdcxxByYgzmh(request);
return map;
}
/*
* 4.10
*/
@RequestMapping("/getYwzt")
public Map getYwzt(HttpServletRequest request) {
Map map = Maps.newHashMap();
map = ycdlService.getYwzt(request);
return map;
}
/*
* 4.6 土地不动产权证号
*/
@RequestMapping("/getTdBdcxxByBdcqzh")
public Map getTdBdcxxByBdcqzh(HttpServletRequest request) {
Map map = Maps.newHashMap();
map = ycdlService.getTdBdcxxByBdcqzh(request);
return map;
}
/*
* 4.7 宗地代码
*/
@RequestMapping("/getBdcxxZddm")
public Map getBdcxxZddm(HttpServletRequest request) {
Map map = Maps.newHashMap();
map = ycdlService.getBdcxxZddm(request);
return map;
}
/*
* 4.9 查档证明
*/
@RequestMapping("/checkCertifyInspect")
public Map checkCertifyInspect(HttpServletRequest request) throws JsonParseException, JsonMappingException, IOException {
Map map = Maps.newHashMap();
map = ycdlService.checkCertifyInspect(request);
return map;
}
/*
* 测试一窗发送数据
*/
/* @RequestMapping("/ceshi")
public Map ceshi(HttpServletRequest request) {
Map map = Maps.newHashMap();
YcslJbxx jbxx = ycslJbxxService.get(request.getParameter("id"));
map = ycslJbxxService.getMap(jbxx);
return map;
}*/
}