1
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user