采购单详情界面

This commit is contained in:
陈淳
2023-01-06 18:39:54 +08:00
parent fd018555fa
commit 4ff771b8a6
11 changed files with 480 additions and 188 deletions

View File

@@ -16,6 +16,12 @@ namespace Yi.Framework.Service.ERP
{
public class PurchaseDetailsService : CrudAppService<PurchaseDetailsEntity, PurchaseDetailsGetListOutput, long, PurchaseDetailsCreateUpdateInput>, IPurchaseDetailsService
{
public async Task<List<PurchaseDetailsGetListOutput>> GetListByPurchaseIdAsync(long purchaseId)
{
var data= await Repository._DbQueryable.Where(u => u.PurchaseId == purchaseId).ToListAsync();
return await MapToGetListOutputDtos(data);
}
public async Task<PageModel<List<PurchaseDetailsGetListOutput>>> PageListAsync(PurchaseDetailsGetListInput input, PageParModel page)
{
RefAsync<int> totalNumber = 0;