38d3f67351ebf9f1f558eda6064b1c1417a04dfe.svn-base
5.08 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
/**
* Copyright © 2015-2018 ODM All rights reserved.
*/
package com.thinkgem.jeesite.modules.reg.service.base;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.thinkgem.jeesite.common.config.Global;
import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.common.utils.JsonUtil;
import com.thinkgem.jeesite.modules.reg.dao.base.RegBaseHDao;
import com.thinkgem.jeesite.modules.reg.entity.base.RegBaseH;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusBdcqzsdjxx;
import com.thinkgem.jeesite.modules.title.buss.RemoteBuss;
import com.thinkgem.jeesite.modules.title.po.FwxxDto;
/**
* 户表信息维护表单Service
* @author xuyg
* @version 2015-10-24
*/
@Service
@Transactional(readOnly = true)
public class RegBaseHService extends CrudService<RegBaseHDao, RegBaseH> {
@Autowired
private RemoteBuss buss;
public RegBaseH get(String id) {
return super.get(id);
}
public RegBaseH getdy(String bdcdyh) {
return super.getdy(bdcdyh);
}
public RegBaseH getIslogout(String bdcdyh) {
return dao.getIslogout(bdcdyh);
}
public String getHMaxFwbm(){
return dao.getHMaxFwbm();
}
public Map<Object, Object> getHOther(){
return dao.getHOther();
}
public List<RegBaseH> findsxhList(RegBaseH regBaseH) {
return dao.findsxhList(regBaseH);
}
public List<RegBaseH> findList(RegBaseH regBaseH) {
return super.findList(regBaseH);
}
public List<RegBaseH> findmjList(RegBaseH regBaseH) {
return dao.findmjList(regBaseH);
}
public List<RegBaseH> findBGList(RegBaseH regBaseH) {
return dao.findBGList(regBaseH);
}
public Page<RegBaseH> findDjxxPage(Page<RegBaseH> page, RegBaseH regBaseH) {
regBaseH.setPage(page);
return page.setList(dao.findDjxxList(regBaseH));
}
public Page<RegBaseH> findAllPage(Page<RegBaseH> page, RegBaseH regBaseH) {
regBaseH.setPage(page);
return page.setList(dao.findAllList(regBaseH));
}
public Page<RegBaseH> findBGPage(Page<RegBaseH> page, RegBaseH regBaseH) {
return super.findBGPage(page, regBaseH);
}
public Page<RegBaseH> findLSBGPage(Page<RegBaseH> page, RegBaseH regBaseH) {
regBaseH.setPage(page);
page.setList(dao.findLSBGPage(regBaseH));
return page;
}
/**
* 一窗受理登记结果返回
*/
public String gethfh(String bdcdyh) {
return dao.gethfh(bdcdyh);
}
public Page<RegBaseH> findPage(Page<RegBaseH> page, RegBaseH regBaseH) {
return super.findPage(page, regBaseH);
}
public List<RegBaseH> findAllList(RegBaseH regBaseH) {
return dao.findAllList(regBaseH);
}
public List<RegBaseH> findZdHs(RegBaseH regBaseH){
return dao.findZdHs(regBaseH);
}
public List<String> findHDyhList(String dyh){
return dao.findHDyhs(dyh);
}
public List<String> findDaoruHDyhs(List<String> hDyhs){
return dao.yidaoruHs(hDyhs);
}
public String findzjk(String hDyhs){
return dao.findzjk(hDyhs);
}
@Transactional(readOnly = false)
public void save(RegBaseH regBaseH) {
super.save(regBaseH);
}
@Transactional(readOnly = false)
public void delete(RegBaseH regBaseH) {
super.delete(regBaseH);
}
@Transactional(readOnly = false)
public void hdelete(RegBaseH regBaseH){
dao.hdelete(regBaseH);
}
@Transactional(readOnly = false)
public void cfdelete(Map<String, String> map) {
dao.cfdelete(map);
}
@Transactional(readOnly = false)
public void yydelete(Map<String, String> map) {
dao.yydelete(map);
}
@Transactional(readOnly = false)
public void deleteBdcdyh(String bdcdyh) {
dao.deleteBdcdyh(bdcdyh);
}
//一窗受理楼盘信息获取,幢信息
public List<Map<String,Object>> getYcsllp(Map<String,Object> map) {
return dao.getYcsllp(map);
}
//一窗受理楼盘信息获取,户信息
public List<Map<String,Object>> getYcsllpH(Map<String,Object> map) {
return dao.getYcsllpH(map);
}
//房源编号保证唯一 20190113GL
public int lpgjFybh(String fybh) {
return dao.lpgjFybh(fybh);
}
//一窗受理楼盘信息获取,幢信息
public void updateYcsllp(String fwljzid) {
dao.updateYcsllp(fwljzid);
}
//一窗受理楼盘信息获取,户信息
public void updateYcsllpH(String fwhsid) {
dao.updateYcsllpH(fwhsid);
}
public String sumscmj(String string) {
// TODO Auto-generated method stub
return dao.sumscmj(string);
}
public RegBaseH getByDy(String bdcdyh) {
// TODO Auto-generated method stub
return dao.getByDy(bdcdyh);
}
public void postData(RegBaseH regBaseHNew) {
if(Global.isTitle()) {
FwxxDto dto = new FwxxDto();
BeanUtils.copyProperties(regBaseHNew, dto);
String url = Global.getTitleUrl() + "/inte/post/fwxxdata";
Map params = JsonUtil.ObjectoMap(dto);
String content = "";
try {
content = buss.posturl(params, url);
} catch (IOException e) {
e.printStackTrace();
}
}
}
public List<RegBaseH> findQJList(RegBaseH h) {
// TODO Auto-generated method stub
return dao.findQJList(h);
}
}