Compare commits

..

2 Commits

Author SHA1 Message Date
he 4af09e64a3 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2024-10-31 10:56:14 +08:00
he 520595796b 修改 2024-10-31 10:56:12 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -549,7 +549,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public class ChangeTableQuestion public class ChangeTableQuestion
{ {
public Guid RowId { get; set; } public Guid? RowId { get; set; }
public Guid QuestionId { get; set; } public Guid QuestionId { get; set; }

View File

@ -366,7 +366,7 @@ namespace IRaCIS.Core.Application.Service
} }
foreach (var item in inDto.TableQuestionAnswer) foreach (var item in inDto.TableQuestionAnswer.Where(x => x.RowId != null))
{ {
if (tableQuestionAnswerList.Any(x => x.QuestionId == item.QuestionId && x.RowId == item.RowId && x.TableQuestionId == item.TableQuestionId)) if (tableQuestionAnswerList.Any(x => x.QuestionId == item.QuestionId && x.RowId == item.RowId && x.TableQuestionId == item.TableQuestionId))