fix route名称修改
This commit is contained in:
@@ -463,14 +463,14 @@ public class GainfoService : IGainfoService
|
||||
return departmentNos.Distinct().ToList();
|
||||
|
||||
//local method
|
||||
void RecursionGetNext(string currentNo, List<DepartmentEntity> departments, List<string> result)
|
||||
void RecursionGetNext(string currentNo, List<DepartmentEntity> internalDepartments, List<string> result)
|
||||
{
|
||||
var next = departments.Where(x => x.PNo == currentNo).ToList();
|
||||
var next = internalDepartments.Where(x => x.PNo == currentNo).ToList();
|
||||
|
||||
foreach (var item in next)
|
||||
{
|
||||
result.Add(item.No);
|
||||
RecursionGetNext(item.No, departments, result);
|
||||
RecursionGetNext(item.No, internalDepartments, result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public class EMealVoucherController : ControllerBase
|
||||
/// </summary>
|
||||
/// <param name="no"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("no")]
|
||||
[HttpGet("details")]
|
||||
public async Task<List<EMealVoucherDetailResponse>> GetDetailsByNoAsync(string no)
|
||||
{
|
||||
return await _eMealVoucherService.GetDetailsByNoAsync(no);
|
||||
|
||||
Reference in New Issue
Block a user