|
@@ -11,6 +11,7 @@ import com.bizmatics.common.core.bean.CommonPage;
|
|
|
import com.bizmatics.common.core.util.StringUtils;
|
|
|
import com.bizmatics.common.mvc.base.AbstractCrudService;
|
|
|
import com.bizmatics.mhfire.model.bulehelp.BmfwFeedback;
|
|
|
+import com.bizmatics.mhfire.model.bulehelp.BmfwLawsCatalog;
|
|
|
import com.bizmatics.mhfire.model.bulehelp.BmfwLawsCatalogInfo;
|
|
|
import com.bizmatics.mhfire.persistence.mapper.bulehelp.BmfwLawsCatalogInfoMapper;
|
|
|
import com.bizmatics.mhfire.service.bulehelp.BmfwLawsCatalogInfoService;
|
|
@@ -41,7 +42,9 @@ public class BmfwLawsCatalogInfoServiceImpl extends AbstractCrudService<BmfwLaws
|
|
|
.eq(null != catalogId,BmfwLawsCatalogInfo::getCatalogId,catalogId);
|
|
|
IPage<BmfwLawsCatalogInfo> page = new Page<>(current, size);
|
|
|
page = baseMapper.selectPage(page, productLambdaQueryWrapper);
|
|
|
- page.getRecords().forEach(bmfwLawsCatalogInfo -> bmfwLawsCatalogInfo.setCatalogName(bmfwLawsCatalogService.getById(bmfwLawsCatalogInfo.getCatalogId()).getName()));
|
|
|
+ for (BmfwLawsCatalogInfo bmfwLawsCatalogInfo:page.getRecords()) {
|
|
|
+ bmfwLawsCatalogInfo.setBmfwLawsCatalog(bmfwLawsCatalogService.getById(bmfwLawsCatalogInfo.getCatalogId()));
|
|
|
+ }
|
|
|
return this.ToCommonPage(page);
|
|
|
}
|
|
|
}
|