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

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

@@ -283,6 +283,12 @@
<param name="ids"></param>
<returns></returns>
</member>
<member name="M:Yi.Framework.ApiMicroservice.Controllers.ERP.SupplierController.GetList">
<summary>
全查
</summary>
<returns></returns>
</member>
<member name="M:Yi.Framework.ApiMicroservice.Controllers.ERP.SupplierController.PageList(Yi.Framework.DtoModel.ERP.Supplier.SupplierGetListInput,Yi.Framework.Common.Models.PageParModel)">
<summary>
分页查

View File

@@ -1,7 +1,6 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Org.BouncyCastle.Asn1.IsisMtt.X509;
using System;
using System.Collections.Generic;
using System.Linq;

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>