完善单位定义界面

This commit is contained in:
陈淳
2023-01-04 16:47:24 +08:00
parent 5f6d29a3f8
commit e8e6b928cf
7 changed files with 69 additions and 7 deletions

View File

@@ -40,6 +40,17 @@ namespace Yi.Framework.ApiMicroservice.Controllers.ERP
return Result.Success().SetData(result);
}
/// <summary>
/// 全查
/// </summary>
/// <returns></returns>
[HttpGet]
public async Task<Result> GetList()
{
var result = await _unitService.GetListAsync();
return Result.Success().SetData(result);
}
/// <summary>
/// 增
/// </summary>