修改一版
parent
e3941c2092
commit
4c919e334d
|
@ -2874,7 +2874,7 @@
|
|||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingPeriodSetService.GetReadingPeriodSet(System.Guid)">
|
||||
<summary>
|
||||
获取单挑
|
||||
获取单条
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
|
|
|
@ -87,11 +87,11 @@ namespace IRaCIS.Application.Services
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取单挑
|
||||
/// 获取单条
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("ReadingPeriodSet/GetReadingPeriodSet/{id:guid}")]
|
||||
[HttpPost("{id:guid}")]
|
||||
public async Task<ReadingPeriodSetView> GetReadingPeriodSet(Guid id)
|
||||
{
|
||||
var data = await _readingPeriodSetRepository.AsQueryable().Include(x => x.ReadingPeriodSites).Where(x => x.Id == id).ProjectTo<ReadingPeriodSetView>(_mapper.ConfigurationProvider).FirstOrDefaultAsync();
|
||||
|
|
Loading…
Reference in New Issue