|
@@ -105,10 +105,10 @@ public class TaNewsTypeServiceImpl extends ServiceImpl<TaNewsTypeMapper, TaNewsT
|
105
|
105
|
}
|
106
|
106
|
|
107
|
107
|
private void check(TaNewsType taNewsType) {
|
108
|
|
- TaBuilding taBuilding = iTaBuildingService.getById(taNewsType.getBuildingId());
|
109
|
|
- if (null == taBuilding) {
|
110
|
|
- throw new EstaException("楼盘不存在!");
|
111
|
|
- }
|
|
108
|
+// TaBuilding taBuilding = iTaBuildingService.getById(taNewsType.getBuildingId());
|
|
109
|
+// if (null == taBuilding) {
|
|
110
|
+// throw new EstaException("楼盘不存在!");
|
|
111
|
+// }
|
112
|
112
|
if (taNewsType.getStatus() != null && taNewsType.getStatus() == -1) {
|
113
|
113
|
QueryWrapper<TaNews> queryWrapper = new QueryWrapper<>();
|
114
|
114
|
queryWrapper.gt("status", -1);
|