接口名称修改

Uat_IRC_Net8
he 2025-01-02 16:58:50 +08:00
parent 901438a4a7
commit d31e560a6b
2 changed files with 4 additions and 2 deletions

View File

@ -89,9 +89,11 @@ namespace IRaCIS.Core.Application.Service
/// 删除表格问题标记
/// </summary>
/// <param name="inDto"></param>
/// <param name="param"></param>
/// <returns></returns>
[HttpPost]
public async Task<bool> DeleteTableQuestionMark(DeleteTableQuestionMarkInDto inDto)
[Route("/DeleteTableQuestionMark/{param}")]
public async Task<bool> DeleteTableQuestionMark(DeleteTableQuestionMarkInDto inDto, string param)
{
await _readingTaskQuestionMarkRepository.DeleteFromQueryAsync(x => x.RowId == inDto.RowId);
return await _readingTaskQuestionMarkRepository.SaveChangesAsync();

View File

@ -2988,7 +2988,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingTaskQuestionMark)))
{
var type = AuditOpt.Add;
var type = GetEntityAuditOpt(item);
var entity = item.Entity as ReadingTaskQuestionMark;