From 8641a11b53b22f8aef87419f3f2f19e9587bec3d Mon Sep 17 00:00:00 2001
From: he <109787524@qq.com>
Date: Thu, 30 Jul 2026 17:38:50 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../IRaCIS.Core.Application.xml | 20 ++++++++++++++++---
.../Service/Inspection/InspectionService.cs | 2 +-
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index 6e76f3bf1..97d8edbb8 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -3284,6 +3284,20 @@
批次Id
+
+
+ 根据Id获取稽查记录
+
+
+
+
+
+
+ 设置稽查记录JsonDetail
+
+
+
+
设置项目稽查配置
@@ -17558,17 +17572,17 @@
- 质疑
+ ����
- 一致性核查
+ һ���Ժ˲�
- 复制
+ ����
diff --git a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs
index 925fa3912..111366a40 100644
--- a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs
+++ b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs
@@ -35,7 +35,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
[HttpPost]
public async Task getInspectionById(InspectionDto inDto)
{
- var dataInspection = await _dataInspectionRepository.Select(x=> new InspectionDto()
+ var dataInspection = await _dataInspectionRepository.Where(x=>x.Id==inDto.Id).Select(x=> new InspectionDto()
{
Id=x.Id,
JsonDetail = x.JsonDetail,