From 58f70116b4743bf0eb5c5540f85bb68f4cbb7b1f Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Wed, 29 Oct 2025 11:18:39 +0800 Subject: [PATCH] 1 --- SGGL/BLL/IDP/IDPDataService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SGGL/BLL/IDP/IDPDataService.cs b/SGGL/BLL/IDP/IDPDataService.cs index 84c44f06..bed4dcfb 100644 --- a/SGGL/BLL/IDP/IDPDataService.cs +++ b/SGGL/BLL/IDP/IDPDataService.cs @@ -840,7 +840,8 @@ namespace BLL { if (!string.IsNullOrWhiteSpace(item.RdpId) && !string.IsNullOrWhiteSpace(item.fileid)) { - IDP_DesignDrawing newItem = db.IDP_DesignDrawing.FirstOrDefault(x => x.StockId == item.RdpId && x.ThirdId == item.fileid); + //IDP_DesignDrawing newItem = db.IDP_DesignDrawing.FirstOrDefault(x => x.StockId == item.RdpId && x.ThirdId == item.fileid); + IDP_DesignDrawing newItem = db.IDP_DesignDrawing.FirstOrDefault(x => x.StockId == item.RdpId && x.FormatFileCode == item.doc_no && x.FormatFileName == item.maintitle); if (newItem != null) { newItem.RdpId = item.RdpId;