|
@@ -94,12 +94,12 @@ public class TourUserLikeTravelNotesServiceImpl extends BaseService<TourUserLike
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public List<TourUserLikeTravelNotes> getTourUserLikeTravelNotesWithRelationWriteList(TourUserLikeTravelNotes filter,Integer unmountState, String orderBy) {
|
|
|
- List<TourUserLikeTravelNotes> resultList = tourUserLikeTravelNotesMapper.getTourUserLikeTravelNotesWithRelationWriteList(filter,unmountState, orderBy);
|
|
|
+ public List<TourismProjectTravelNotesWrite> getTourUserLikeTravelNotesWithRelationWriteList(TourUserLikeTravelNotes filter,Integer unmountState, String orderBy) {
|
|
|
+ List<TourismProjectTravelNotesWrite> resultList = tourUserLikeTravelNotesMapper.getTourUserLikeTravelNotesWithRelationWriteList(filter, unmountState, orderBy);
|
|
|
// 在缺省生成的代码中,如果查询结果resultList不是Page对象,说明没有分页,那么就很可能是数据导出接口调用了当前方法。
|
|
|
// 为了避免一次性的大量数据关联,规避因此而造成的系统运行性能冲击,这里手动进行了分批次读取,开发者可按需修改该值。
|
|
|
- int batchSize = resultList instanceof Page ? 0 : 1000;
|
|
|
- this.buildRelationForDataList(resultList, MyRelationParam.normal(), batchSize);
|
|
|
+// int batchSize = resultList instanceof Page ? 0 : 1000;
|
|
|
+// this.buildRelationForDataList(resultList, MyRelationParam.normal(), batchSize);
|
|
|
return resultList;
|
|
|
}
|
|
|
|