肖洋
2024-11-22 2e5d53bdde2df2419f879d4acad8f39fdbcf5b1a
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;
    }
}