namespace WIDESEA_StorageBasicService; public class StockInfoService : ServiceBase, IStockInfoService { public StockInfoService(IStockInfoRepository BaseDal) : base(BaseDal) { } public override PageGridData GetPageData(PageDataOptions options) { var data = base.GetPageData(options); foreach (var item in data.Rows) { item.Remark = item.StockInfoDetails.Count().ToString(); } return data; } }