修改
This commit is contained in:
@@ -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; }
|
||||||
|
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user