完善采购订单供应商下拉列表

This commit is contained in:
陈淳
2023-01-06 15:40:46 +08:00
parent f4280298af
commit fd018555fa
13 changed files with 85 additions and 15 deletions

View File

@@ -2,6 +2,7 @@ using Microsoft.AspNetCore.Mvc;
using Yi.Framework.Common.Models;
using Yi.Framework.DtoModel.ERP.Supplier;
using Yi.Framework.Interface.ERP;
using Yi.Framework.Service.ERP;
namespace Yi.Framework.ApiMicroservice.Controllers.ERP
{
@@ -17,6 +18,18 @@ namespace Yi.Framework.ApiMicroservice.Controllers.ERP
_supplierService = supplierService;
}
/// <summary>
/// 全查
/// </summary>
/// <returns></returns>
[HttpGet]
public async Task<Result> GetList()
{
var result = await _supplierService.GetListAsync();
return Result.Success().SetData(result);
}
/// <summary>
/// 分页查
/// </summary>