This commit is contained in:
parent
de430627fa
commit
58f70116b4
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue