|
|
|
@ -7,6 +7,7 @@ using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using TencentCloud.Cme.V20191029.Models; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
|
using Volo.Abp.Application.Services; |
|
|
|
@ -111,7 +112,7 @@ namespace Shentun.Peis.GuideTypes |
|
|
|
[HttpPut("api/app/guidetype/updatesort")] |
|
|
|
public async Task UpdateSortAsync(Guid id, Guid targetid) |
|
|
|
{ |
|
|
|
await EntityHelper.UpdateSort(Repository, id, targetid); |
|
|
|
await _manager.UpdateSortAsync(id, targetid); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
@ -123,7 +124,7 @@ namespace Shentun.Peis.GuideTypes |
|
|
|
[HttpPut("api/app/guidetype/updatemanysort")] |
|
|
|
public async Task UpdateManySortAsync(Guid id, int SortType) |
|
|
|
{ |
|
|
|
await EntityHelper.UpdateManySortAsync(Repository, id, SortType); |
|
|
|
await _manager.UpdateManySortAsync(id, SortType); |
|
|
|
} |
|
|
|
} |
|
|
|
} |