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