From 1006ac1f1102d8cfcb462e83045613362a0e2448 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Fri, 10 Jun 2022 17:59:08 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/Inspection/FrontAuditConfigService.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs
index 4db9cc7c5..d52fdad44 100644
--- a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs
+++ b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs
@@ -195,11 +195,11 @@ namespace IRaCIS.Core.Application.Service
///
private async Task> SetInspectionEnumValueDataList(SetInspectionEnumValueDto dto)
{
- var auditDatas = _dataInspectionRepository.AsQueryable().Where(x => dto.AuditDataIds.Contains(x.Id)).Select(x=> new SetInspectionEnumDataDto() {
+ var auditDatas =await _dataInspectionRepository.AsQueryable().Where(x => dto.AuditDataIds.Contains(x.Id)).Select(x=> new SetInspectionEnumDataDto() {
Id=x.Id,
JsonStr=x.JsonDetail,
Identification=x.Identification
- });
+ }).ToListAsync();
var listIdentification = auditDatas.Select(x => x.Identification).ToList();
foreach (var item in auditDatas)