1
刘磊
2024-11-23 df5e63a89fa2fade5bf87d41f507740ea063e0e4
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
@@ -1,8 +1,19 @@
namespace WIDESEA_StorageBasicService;

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