This commit is contained in:
夏菊 2025-10-29 11:18:39 +08:00
parent de430627fa
commit 58f70116b4
1 changed files with 2 additions and 1 deletions

View File

@ -840,7 +840,8 @@ namespace BLL
{ {
if (!string.IsNullOrWhiteSpace(item.RdpId) && !string.IsNullOrWhiteSpace(item.fileid)) 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) if (newItem != null)
{ {
newItem.RdpId = item.RdpId; newItem.RdpId = item.RdpId;