|
@@ -169,14 +169,14 @@ public class TaRaiseRecordServiceImpl extends ServiceImpl<TaRaiseRecordMapper, T
|
169
|
169
|
throw new Exception("存在已经删除的房源!");
|
170
|
170
|
}
|
171
|
171
|
//判断我是否认筹过这些房源
|
172
|
|
- QueryWrapper<TaRaiseHouse> taRaiseHouseQueryWrapper = new QueryWrapper<>();
|
173
|
|
- taRaiseHouseQueryWrapper.eq("org_id", orgId);
|
174
|
|
- taRaiseHouseQueryWrapper.eq("house_id", houseId);
|
175
|
|
- taRaiseHouseQueryWrapper.eq("person_id", personId);
|
176
|
|
- List<TaRaiseHouse> taRaiseHouses = taRaiseHouseMapper.selectList(taRaiseHouseQueryWrapper);
|
177
|
|
- if (taRaiseHouses.size() > 0) {
|
178
|
|
- throw new Exception("存在已经认筹过的房源!");
|
179
|
|
- }
|
|
172
|
+// QueryWrapper<TaRaiseHouse> taRaiseHouseQueryWrapper = new QueryWrapper<>();
|
|
173
|
+// taRaiseHouseQueryWrapper.eq("org_id", orgId);
|
|
174
|
+// taRaiseHouseQueryWrapper.eq("house_id", houseId);
|
|
175
|
+// taRaiseHouseQueryWrapper.eq("person_id", personId);
|
|
176
|
+// List<TaRaiseHouse> taRaiseHouses = taRaiseHouseMapper.selectList(taRaiseHouseQueryWrapper);
|
|
177
|
+// if (taRaiseHouses.size() > 0) {
|
|
178
|
+// throw new Exception("存在已经认筹过的房源!");
|
|
179
|
+// }
|
180
|
180
|
}
|
181
|
181
|
}
|
182
|
182
|
|