|
@@ -107,7 +107,9 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
|
|
|
throw ResultOutput.Exception("ID不可为空");
|
|
|
}
|
|
|
|
|
|
- var noticeDetail = await _noticeRepository.Select.DisableGlobalFilter(FilterNames.Tenant).FirstAsync(a => new NoticeDetailOutput() {
|
|
|
+ var noticeDetail = await _noticeRepository.Select.DisableGlobalFilter(FilterNames.Tenant)
|
|
|
+ .Where(a => a.Id == id)
|
|
|
+ .FirstAsync(a => new NoticeDetailOutput() {
|
|
|
Id = a.Id,
|
|
|
Title = a.Title,
|
|
|
Content = a.Content,
|