|
@@ -6,10 +6,9 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
6
|
6
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
7
|
7
|
import com.huiju.estateagents.base.ResponseBean;
|
8
|
8
|
import com.huiju.estateagents.common.CommConstant;
|
9
|
|
-import com.huiju.estateagents.entity.TaBuildingApartment;
|
10
|
|
-import com.huiju.estateagents.entity.TaBuildingBlock;
|
11
|
|
-import com.huiju.estateagents.entity.TaHousingResources;
|
12
|
|
-import com.huiju.estateagents.mapper.TaHousingResourcesMapper;
|
|
9
|
+import com.huiju.estateagents.common.StringUtils;
|
|
10
|
+import com.huiju.estateagents.entity.*;
|
|
11
|
+import com.huiju.estateagents.mapper.*;
|
13
|
12
|
import com.huiju.estateagents.po.TaHousingResourcesPO;
|
14
|
13
|
import com.huiju.estateagents.service.ITaHousingResourcesService;
|
15
|
14
|
import org.slf4j.Logger;
|
|
@@ -17,6 +16,7 @@ import org.slf4j.LoggerFactory;
|
17
|
16
|
import org.springframework.beans.factory.annotation.Autowired;
|
18
|
17
|
import org.springframework.stereotype.Service;
|
19
|
18
|
|
|
19
|
+import java.time.LocalDateTime;
|
20
|
20
|
import java.util.List;
|
21
|
21
|
|
22
|
22
|
/**
|
|
@@ -35,31 +35,27 @@ public class TaHousingResourcesServiceImpl extends ServiceImpl<TaHousingResource
|
35
|
35
|
@Autowired
|
36
|
36
|
private TaHousingResourcesMapper taHousingResourcesMapper;
|
37
|
37
|
|
38
|
|
- /**
|
39
|
|
- * 分页获取房源详情数据
|
40
|
|
- *
|
41
|
|
- * @param salesBatchId
|
42
|
|
- * @param buildingId
|
43
|
|
- * @param pageNumber
|
44
|
|
- * @param pageSize
|
45
|
|
- * @param orgId
|
46
|
|
- * @return
|
47
|
|
- */
|
48
|
|
- @Override
|
49
|
|
- public ResponseBean selectPageList(Integer salesBatchId, String buildingId, Integer pageNumber, Integer pageSize, Integer orgId) {
|
50
|
|
- //使用分页插件
|
51
|
|
- IPage<TaHousingResources> pg = new Page<>(pageNumber, pageSize);
|
52
|
|
- QueryWrapper<TaHousingResources> queryWrapper = new QueryWrapper<>();
|
53
|
|
- //销售批次id
|
54
|
|
- queryWrapper.eq("sales_batch_id", salesBatchId);
|
55
|
|
- queryWrapper.eq("building_id", buildingId);
|
56
|
|
- queryWrapper.eq("org_id", orgId);
|
57
|
|
- queryWrapper.eq("status", CommConstant.STATUS_NORMAL);
|
58
|
|
- queryWrapper.orderByDesc("create_date");
|
59
|
|
- IPage<TaHousingResources> list = this.page(pg, queryWrapper);
|
|
38
|
+ @Autowired
|
|
39
|
+ private TaBuildingTermMapper taBuildingTermMapper;
|
|
40
|
+
|
|
41
|
+ @Autowired
|
|
42
|
+ private TaBuildingBlockMapper taBuildingBlockMapper;
|
|
43
|
+
|
|
44
|
+ @Autowired
|
|
45
|
+ private TaBuildingUnitMapper taBuildingUnitMapper;
|
|
46
|
+
|
|
47
|
+ @Autowired
|
|
48
|
+ private TaBuildingFloorMapper taBuildingFloorMapper;
|
|
49
|
+
|
|
50
|
+ @Autowired
|
|
51
|
+ private TaBuildingRoomMapper taBuildingRoomMapper;
|
|
52
|
+
|
|
53
|
+ @Autowired
|
|
54
|
+ private TaBuildingMapper taBuildingMapper;
|
|
55
|
+
|
|
56
|
+ @Autowired
|
|
57
|
+ private TaPreselectionRecordMapper taPreselectionRecordMapper;
|
60
|
58
|
|
61
|
|
- return ResponseBean.success(list);
|
62
|
|
- }
|
63
|
59
|
|
64
|
60
|
/**
|
65
|
61
|
* 分页获取房源列表
|
|
@@ -107,4 +103,303 @@ public class TaHousingResourcesServiceImpl extends ServiceImpl<TaHousingResource
|
107
|
103
|
|
108
|
104
|
return taHousingResourcesMapper.getHousingDetailById(houseId, "1");
|
109
|
105
|
}
|
|
106
|
+
|
|
107
|
+ /**
|
|
108
|
+ * 校验楼栋信息存不存在
|
|
109
|
+ *
|
|
110
|
+ * @param taHousingResources
|
|
111
|
+ * @return
|
|
112
|
+ */
|
|
113
|
+ @Override
|
|
114
|
+ public StringBuffer checked(TaHousingResources taHousingResources) {
|
|
115
|
+ StringBuffer result = new StringBuffer();
|
|
116
|
+ //校验期
|
|
117
|
+ String termResult = checckedTerm(taHousingResources);
|
|
118
|
+ result.append(termResult.equals("notExist") ? "期名" + taHousingResources.getTermName() + "不存在,会直接新建。" : termResult );
|
|
119
|
+ //校验栋
|
|
120
|
+ String blockResult = checkedBlock(taHousingResources);
|
|
121
|
+ result.append(blockResult.equals("notExist") ? "楼栋名" + taHousingResources.getBlockName() + "不存在,会直接新建。" : blockResult );
|
|
122
|
+ //校验单元
|
|
123
|
+ String unitResult = checkedUnit(taHousingResources);
|
|
124
|
+ result.append(unitResult.equals("notExist") ? "单元名" + taHousingResources.getUnitName() + "不存在,会直接新建。" : unitResult );
|
|
125
|
+ //校验楼层
|
|
126
|
+ String floorResult = checkedFloor(taHousingResources);
|
|
127
|
+ result.append(floorResult.equals("notExist") ? "楼层名" + taHousingResources.getFloorName() + "不存在,会直接新建。" : floorResult );
|
|
128
|
+ //校验房号
|
|
129
|
+ String roomResult = checkedRoom(taHousingResources);
|
|
130
|
+ result.append(roomResult.equals("notExist") ? "房号" + taHousingResources.getRoomName() + "不存在,会直接新建。" : roomResult );
|
|
131
|
+ return result;
|
|
132
|
+ }
|
|
133
|
+
|
|
134
|
+ /**
|
|
135
|
+ * 添加楼栋信息
|
|
136
|
+ *
|
|
137
|
+ * @param taHousingResources
|
|
138
|
+ * @return
|
|
139
|
+ */
|
|
140
|
+ @Override
|
|
141
|
+ public ResponseBean addHouseResources(TaHousingResources taHousingResources) {
|
|
142
|
+ //校验期
|
|
143
|
+ String termResult = checckedTerm(taHousingResources);
|
|
144
|
+ //校验栋
|
|
145
|
+ String blockResult = checkedBlock(taHousingResources);
|
|
146
|
+ //校验单元
|
|
147
|
+ String unitResult = checkedUnit(taHousingResources);
|
|
148
|
+ //校验楼层
|
|
149
|
+ String floorResult = checkedFloor(taHousingResources);
|
|
150
|
+ //校验房号
|
|
151
|
+ String roomResult = checkedRoom(taHousingResources);
|
|
152
|
+
|
|
153
|
+ //创建期
|
|
154
|
+ if (!roomResult.equals("notExist")){
|
|
155
|
+ return ResponseBean.error("房间名" + taHousingResources.getRoomName() + "存在。请修改房间名!",ResponseBean.ERROR_UNAVAILABLE);
|
|
156
|
+ }
|
|
157
|
+
|
|
158
|
+ //期不存在就添加
|
|
159
|
+ if (termResult.equals("notExist")){
|
|
160
|
+ addTerm(taHousingResources);
|
|
161
|
+ }
|
|
162
|
+
|
|
163
|
+ //楼栋不存在就添加
|
|
164
|
+ if (blockResult.equals("notExist")){
|
|
165
|
+ addBlock(taHousingResources);
|
|
166
|
+ }
|
|
167
|
+
|
|
168
|
+ //单元不存在就添加
|
|
169
|
+ if (unitResult.equals("notExist")){
|
|
170
|
+ addUnit(taHousingResources);
|
|
171
|
+ }
|
|
172
|
+
|
|
173
|
+ //楼层不存在就添加
|
|
174
|
+ if (floorResult.equals("notExist")){
|
|
175
|
+ addFloor(taHousingResources);
|
|
176
|
+ }
|
|
177
|
+
|
|
178
|
+ //房间号不存在就添加
|
|
179
|
+ if (roomResult.equals("notExist")){
|
|
180
|
+ addRoom(taHousingResources);
|
|
181
|
+ }
|
|
182
|
+
|
|
183
|
+ // 获取楼盘名称
|
|
184
|
+ TaBuilding taBuilding = taBuildingMapper.selectById(taHousingResources.getBuildingId());
|
|
185
|
+ taHousingResources.setBuildingName(taBuilding.getBuildingName());
|
|
186
|
+ //添加房源信息
|
|
187
|
+ taHousingResources.setCreateDate(LocalDateTime.now());
|
|
188
|
+ taHousingResourcesMapper.insert(taHousingResources);
|
|
189
|
+ return ResponseBean.success(taHousingResources);
|
|
190
|
+ }
|
|
191
|
+
|
|
192
|
+ /**
|
|
193
|
+ * 分页获取房源信息
|
|
194
|
+ *
|
|
195
|
+ * @param salesBatchId
|
|
196
|
+ * @param buildingId
|
|
197
|
+ * @param pageNumber
|
|
198
|
+ * @param pageSize
|
|
199
|
+ * @param orgId
|
|
200
|
+ * @param termName
|
|
201
|
+ * @param blockName
|
|
202
|
+ * @param unitName
|
|
203
|
+ * @param floorName
|
|
204
|
+ * @param roomName
|
|
205
|
+ * @param apartmentId
|
|
206
|
+ * @param status
|
|
207
|
+ * @param houseId
|
|
208
|
+ * @return
|
|
209
|
+ */
|
|
210
|
+ @Override
|
|
211
|
+ public ResponseBean selectPageList(Integer salesBatchId, String buildingId, Integer pageNumber, Integer pageSize, Integer orgId, String termName, String blockName, String unitName, String floorName, String roomName, Integer apartmentId, Integer status, String houseId) {
|
|
212
|
+ IPage<TaHousingResources> pg = new Page<>(pageNumber, pageSize);
|
|
213
|
+ IPage<TaHousingResources> pageData = taHousingResourcesMapper.getHouseResourceList(pg, salesBatchId, buildingId, orgId, termName, blockName, unitName, floorName, roomName, apartmentId, status, houseId);
|
|
214
|
+ List<TaHousingResources> records = pageData.getRecords();
|
|
215
|
+ records.forEach(e -> {
|
|
216
|
+ QueryWrapper<TaPreselectionRecord> queryWrapper = new QueryWrapper<>();
|
|
217
|
+ queryWrapper.eq("status", CommConstant.STATUS_NORMAL);
|
|
218
|
+ queryWrapper.eq("org_id", e.getOrgId());
|
|
219
|
+ queryWrapper.eq("house_id", e.getHouseId());
|
|
220
|
+ List<TaPreselectionRecord> taPreselectionRecords = taPreselectionRecordMapper.selectList(queryWrapper);
|
|
221
|
+ e.setRealHeat(taPreselectionRecords.size());
|
|
222
|
+ });
|
|
223
|
+ return ResponseBean.success(pageData);
|
|
224
|
+ }
|
|
225
|
+
|
|
226
|
+ //添加房间号
|
|
227
|
+ private void addRoom(TaHousingResources taHousingResources) {
|
|
228
|
+ TaBuildingRoom taBuildingRoom = new TaBuildingRoom();
|
|
229
|
+ taBuildingRoom.setBuildingId(taHousingResources.getBuildingId());
|
|
230
|
+ taBuildingRoom.setCreateDate(LocalDateTime.now());
|
|
231
|
+ taBuildingRoom.setOrgId(taHousingResources.getOrgId());
|
|
232
|
+ taBuildingRoom.setStatus(CommConstant.STATUS_NORMAL);
|
|
233
|
+ taBuildingRoom.setTermId(taHousingResources.getTermId());
|
|
234
|
+ taBuildingRoom.setBlockId(taHousingResources.getBlockId());
|
|
235
|
+ taBuildingRoom.setUnitId(taHousingResources.getUnitId());
|
|
236
|
+ taBuildingRoom.setFloorId(taHousingResources.getFloorId());
|
|
237
|
+ taBuildingRoom.setRoomName(taHousingResources.getRoomName());
|
|
238
|
+ taBuildingRoomMapper.insert(taBuildingRoom);
|
|
239
|
+ taHousingResources.setRoomId(taBuildingRoom.getRoomId());
|
|
240
|
+ }
|
|
241
|
+
|
|
242
|
+ //添加楼层
|
|
243
|
+ private void addFloor(TaHousingResources taHousingResources) {
|
|
244
|
+ TaBuildingFloor taBuildingFloor = new TaBuildingFloor();
|
|
245
|
+ taBuildingFloor.setBuildingId(taHousingResources.getBuildingId());
|
|
246
|
+ taBuildingFloor.setCreateDate(LocalDateTime.now());
|
|
247
|
+ taBuildingFloor.setOrgId(taHousingResources.getOrgId());
|
|
248
|
+ taBuildingFloor.setStatus(CommConstant.STATUS_NORMAL);
|
|
249
|
+ taBuildingFloor.setTermId(taHousingResources.getTermId());
|
|
250
|
+ taBuildingFloor.setBlockId(taHousingResources.getBlockId());
|
|
251
|
+ taBuildingFloor.setUnitId(taHousingResources.getUnitId());
|
|
252
|
+ taBuildingFloor.setFloorName(taHousingResources.getFloorName());
|
|
253
|
+ taBuildingFloorMapper.insert(taBuildingFloor);
|
|
254
|
+ taHousingResources.setFloorId(taBuildingFloor.getFloorId());
|
|
255
|
+ }
|
|
256
|
+
|
|
257
|
+ //添加单元
|
|
258
|
+ private void addUnit(TaHousingResources taHousingResources) {
|
|
259
|
+ TaBuildingUnit taBuildingUnit = new TaBuildingUnit();
|
|
260
|
+ taBuildingUnit.setBuildingId(taHousingResources.getBuildingId());
|
|
261
|
+ taBuildingUnit.setCreateDate(LocalDateTime.now());
|
|
262
|
+ taBuildingUnit.setOrgId(taHousingResources.getOrgId());
|
|
263
|
+ taBuildingUnit.setStatus(CommConstant.STATUS_NORMAL);
|
|
264
|
+ taBuildingUnit.setTermId(taHousingResources.getTermId());
|
|
265
|
+ taBuildingUnit.setBlockId(taHousingResources.getBlockId());
|
|
266
|
+ taBuildingUnit.setUnitName(taHousingResources.getUnitName());
|
|
267
|
+ taBuildingUnitMapper.insert(taBuildingUnit);
|
|
268
|
+ taHousingResources.setUnitId(taBuildingUnit.getUnitId());
|
|
269
|
+ }
|
|
270
|
+
|
|
271
|
+ //添加楼栋
|
|
272
|
+ private void addBlock(TaHousingResources taHousingResources) {
|
|
273
|
+ TaBuildingBlock taBuildingBlock = new TaBuildingBlock();
|
|
274
|
+ taBuildingBlock.setBuildingId(taHousingResources.getBuildingId());
|
|
275
|
+ taBuildingBlock.setCreateDate(LocalDateTime.now());
|
|
276
|
+ taBuildingBlock.setOrgId(taHousingResources.getOrgId());
|
|
277
|
+ taBuildingBlock.setStatus(CommConstant.STATUS_NORMAL);
|
|
278
|
+ taBuildingBlock.setTermId(taHousingResources.getTermId());
|
|
279
|
+ taBuildingBlock.setBlockName(taHousingResources.getBlockName());
|
|
280
|
+ taBuildingBlockMapper.insert(taBuildingBlock);
|
|
281
|
+ taHousingResources.setBlockId(taBuildingBlock.getBlockId());
|
|
282
|
+ }
|
|
283
|
+
|
|
284
|
+ //添加期
|
|
285
|
+ private void addTerm(TaHousingResources taHousingResources) {
|
|
286
|
+ TaBuildingTerm taBuildingTerm = new TaBuildingTerm();
|
|
287
|
+ taBuildingTerm.setBuildingId(taHousingResources.getBuildingId());
|
|
288
|
+ taBuildingTerm.setCreateDate(LocalDateTime.now());
|
|
289
|
+ taBuildingTerm.setOrgId(taHousingResources.getOrgId());
|
|
290
|
+ taBuildingTerm.setStatus(CommConstant.STATUS_NORMAL);
|
|
291
|
+ taBuildingTerm.setTermName(taHousingResources.getTermName());
|
|
292
|
+ taBuildingTermMapper.insert(taBuildingTerm);
|
|
293
|
+ taHousingResources.setTermId(taBuildingTerm.getTermId());
|
|
294
|
+ }
|
|
295
|
+
|
|
296
|
+ //校验房号
|
|
297
|
+ private String checkedRoom(TaHousingResources taHousingResources) {
|
|
298
|
+ if (StringUtils.isEmpty(taHousingResources.getRoomName())){
|
|
299
|
+ return "请输入房号。";
|
|
300
|
+ }else{
|
|
301
|
+ QueryWrapper<TaBuildingRoom> queryWrapper = new QueryWrapper<>();
|
|
302
|
+ queryWrapper.eq("org_id",taHousingResources.getOrgId());
|
|
303
|
+ queryWrapper.eq("status",CommConstant.STATUS_NORMAL);
|
|
304
|
+ queryWrapper.eq("building_id",taHousingResources.getBuildingId());
|
|
305
|
+ queryWrapper.eq("term_id",taHousingResources.getTermId());
|
|
306
|
+ queryWrapper.eq("block_id",taHousingResources.getBlockId());
|
|
307
|
+ queryWrapper.eq("unit_id",taHousingResources.getUnitId());
|
|
308
|
+ queryWrapper.eq("floor_id",taHousingResources.getFloorId());
|
|
309
|
+ queryWrapper.eq("room_name",taHousingResources.getRoomName());
|
|
310
|
+ TaBuildingRoom taBuildingRoom = taBuildingRoomMapper.selectOne(queryWrapper);
|
|
311
|
+ if (null != taBuildingRoom){
|
|
312
|
+ taHousingResources.setRoomId(taBuildingRoom.getRoomId());
|
|
313
|
+ return "房间名" + taHousingResources.getRoomName() + "存在。不允许保存,请修改!";
|
|
314
|
+ }else{
|
|
315
|
+ return "notExist";
|
|
316
|
+ }
|
|
317
|
+ }
|
|
318
|
+ }
|
|
319
|
+
|
|
320
|
+ //校验楼层
|
|
321
|
+ private String checkedFloor(TaHousingResources taHousingResources) {
|
|
322
|
+ if (StringUtils.isEmpty(taHousingResources.getFloorName())){
|
|
323
|
+ return "请输入楼层名。";
|
|
324
|
+ }else{
|
|
325
|
+ QueryWrapper<TaBuildingFloor> queryWrapper = new QueryWrapper<>();
|
|
326
|
+ queryWrapper.eq("org_id",taHousingResources.getOrgId());
|
|
327
|
+ queryWrapper.eq("status",CommConstant.STATUS_NORMAL);
|
|
328
|
+ queryWrapper.eq("building_id",taHousingResources.getBuildingId());
|
|
329
|
+ queryWrapper.eq("term_id",taHousingResources.getTermId());
|
|
330
|
+ queryWrapper.eq("block_id",taHousingResources.getBlockId());
|
|
331
|
+ queryWrapper.eq("unit_id",taHousingResources.getUnitId());
|
|
332
|
+ queryWrapper.eq("floor_name",taHousingResources.getFloorName());
|
|
333
|
+ TaBuildingFloor taBuildingFloor = taBuildingFloorMapper.selectOne(queryWrapper);
|
|
334
|
+ if (null != taBuildingFloor){
|
|
335
|
+ taHousingResources.setFloorId(taBuildingFloor.getFloorId());
|
|
336
|
+ return "楼层名" + taHousingResources.getFloorName() + "存在。";
|
|
337
|
+ }else{
|
|
338
|
+ return "notExist";
|
|
339
|
+ }
|
|
340
|
+ }
|
|
341
|
+ }
|
|
342
|
+
|
|
343
|
+ //校验单元
|
|
344
|
+ private String checkedUnit(TaHousingResources taHousingResources) {
|
|
345
|
+ if (StringUtils.isEmpty(taHousingResources.getUnitName())){
|
|
346
|
+ return "请输入单元名。";
|
|
347
|
+ }else{
|
|
348
|
+ QueryWrapper<TaBuildingUnit> queryWrapper = new QueryWrapper<>();
|
|
349
|
+ queryWrapper.eq("org_id",taHousingResources.getOrgId());
|
|
350
|
+ queryWrapper.eq("status",CommConstant.STATUS_NORMAL);
|
|
351
|
+ queryWrapper.eq("building_id",taHousingResources.getBuildingId());
|
|
352
|
+ queryWrapper.eq("term_id",taHousingResources.getTermId());
|
|
353
|
+ queryWrapper.eq("block_id",taHousingResources.getBlockId());
|
|
354
|
+ queryWrapper.eq("unit_name",taHousingResources.getUnitName());
|
|
355
|
+ TaBuildingUnit taBuildingUnit = taBuildingUnitMapper.selectOne(queryWrapper);
|
|
356
|
+ if (null != taBuildingUnit){
|
|
357
|
+ taHousingResources.setUnitId(taBuildingUnit.getUnitId());
|
|
358
|
+ return "单元名" + taHousingResources.getUnitName() + "存在。";
|
|
359
|
+ }else{
|
|
360
|
+ return "notExist";
|
|
361
|
+ }
|
|
362
|
+ }
|
|
363
|
+ }
|
|
364
|
+
|
|
365
|
+ //校验楼盘
|
|
366
|
+ private String checkedBlock(TaHousingResources taHousingResources) {
|
|
367
|
+ if (StringUtils.isEmpty(taHousingResources.getBlockName())){
|
|
368
|
+ return "请输入楼栋名。";
|
|
369
|
+ }else{
|
|
370
|
+ QueryWrapper<TaBuildingBlock> queryWrapper = new QueryWrapper<>();
|
|
371
|
+ queryWrapper.eq("org_id",taHousingResources.getOrgId());
|
|
372
|
+ queryWrapper.eq("status",CommConstant.STATUS_NORMAL);
|
|
373
|
+ queryWrapper.eq("building_id",taHousingResources.getBuildingId());
|
|
374
|
+ queryWrapper.eq("term_id",taHousingResources.getTermId());
|
|
375
|
+ queryWrapper.eq("block_name",taHousingResources.getBlockName());
|
|
376
|
+ TaBuildingBlock taBuildingBlock = taBuildingBlockMapper.selectOne(queryWrapper);
|
|
377
|
+ if (null != taBuildingBlock){
|
|
378
|
+ taHousingResources.setBlockId(taBuildingBlock.getBlockId());
|
|
379
|
+ return "楼栋名" + taHousingResources.getBlockName() + "存在。";
|
|
380
|
+ }else{
|
|
381
|
+ return "notExist";
|
|
382
|
+ }
|
|
383
|
+ }
|
|
384
|
+ }
|
|
385
|
+
|
|
386
|
+ //校验期
|
|
387
|
+ private String checckedTerm(TaHousingResources taHousingResources) {
|
|
388
|
+ if (StringUtils.isEmpty(taHousingResources.getTermName())){
|
|
389
|
+ return "请输入期名。";
|
|
390
|
+ }else{
|
|
391
|
+ QueryWrapper<TaBuildingTerm> queryWrapper = new QueryWrapper<>();
|
|
392
|
+ queryWrapper.eq("org_id",taHousingResources.getOrgId());
|
|
393
|
+ queryWrapper.eq("status",CommConstant.STATUS_NORMAL);
|
|
394
|
+ queryWrapper.eq("building_id",taHousingResources.getBuildingId());
|
|
395
|
+ queryWrapper.eq("term_name",taHousingResources.getTermName());
|
|
396
|
+ TaBuildingTerm taBuildingTerm = taBuildingTermMapper.selectOne(queryWrapper);
|
|
397
|
+ if (null != taBuildingTerm){
|
|
398
|
+ taHousingResources.setTermId(taBuildingTerm.getTermId());
|
|
399
|
+ return "期名" + taHousingResources.getTermName() + "存在。";
|
|
400
|
+ }else{
|
|
401
|
+ return "notExist";
|
|
402
|
+ }
|
|
403
|
+ }
|
|
404
|
+ }
|
110
|
405
|
}
|