BUGFIX valu mentésére
This commit is contained in:
@@ -170,8 +170,8 @@ namespace WorkFlowCheck.MAUI.Services
|
||||
if (checkListRow.Answer != checkListRowDTO.Answer)
|
||||
{
|
||||
checkListRow.Answer = checkListRowDTO.Answer;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (checkListRowDTO.Photo != null && checkListRowDTO.Photo.Length > 0 && withPhoto)
|
||||
{
|
||||
if (!checkListRow.Photo.SequenceEqual(checkListRowDTO.Photo ?? Array.Empty<byte>()))
|
||||
@@ -328,7 +328,8 @@ namespace WorkFlowCheck.MAUI.Services
|
||||
.Include(i => i.CheckListTemplateRow)
|
||||
.ThenInclude(i => i.CheckPoint)
|
||||
.Where(w => w.CheckListHeaderId == checkListHeaderDTO.Id
|
||||
&& string.IsNullOrEmpty(w.Answer.Trim()))
|
||||
&& string.IsNullOrEmpty(w.Answer.Trim())
|
||||
&& w.CheckListTemplateRow.AnswerType != "PN")
|
||||
.Select(w => w.CheckListTemplateRow.CheckPoint)
|
||||
.OrderBy(cp => cp.ShortName)
|
||||
.FirstOrDefaultAsync();
|
||||
|
||||
Reference in New Issue
Block a user