2023-04-25-001
This commit is contained in:
@@ -28,6 +28,8 @@ namespace BLL
|
||||
{
|
||||
var q = from x in db.PHTGL_BidDocumentsStandingBook
|
||||
where
|
||||
(string.IsNullOrEmpty(table.UnitId) || x.UnitId.Contains(table.UnitId)) &&
|
||||
(string.IsNullOrEmpty(table.DepartId) || x.DepartId.Contains(table.DepartId)) &&
|
||||
(string.IsNullOrEmpty(table.BidDocumentsStandingBookId) || x.BidDocumentsStandingBookId.Contains(table.BidDocumentsStandingBookId)) &&
|
||||
(string.IsNullOrEmpty(table.EPCCode) || x.EPCCode.Contains(table.EPCCode)) &&
|
||||
(string.IsNullOrEmpty(table.ProjectShortName) || x.ProjectShortName.Contains(table.ProjectShortName)) &&
|
||||
@@ -70,6 +72,8 @@ namespace BLL
|
||||
select new
|
||||
{
|
||||
x.BidDocumentsStandingBookId,
|
||||
x.UnitId,
|
||||
x.DepartId,
|
||||
x.EPCCode,
|
||||
x.ProjectShortName,
|
||||
x.ProjectCode,
|
||||
@@ -106,6 +110,8 @@ namespace BLL
|
||||
Model.PHTGL_BidDocumentsStandingBook table = new Model.PHTGL_BidDocumentsStandingBook
|
||||
{
|
||||
BidDocumentsStandingBookId = newtable.BidDocumentsStandingBookId,
|
||||
UnitId= newtable.UnitId,
|
||||
DepartId= newtable.DepartId,
|
||||
EPCCode = newtable.EPCCode,
|
||||
ProjectShortName = newtable.ProjectShortName,
|
||||
ProjectCode = newtable.ProjectCode,
|
||||
@@ -145,6 +151,8 @@ namespace BLL
|
||||
if (table != null)
|
||||
{
|
||||
table.BidDocumentsStandingBookId = newtable.BidDocumentsStandingBookId;
|
||||
table.UnitId= newtable.UnitId;
|
||||
table.DepartId= newtable.DepartId;
|
||||
table.EPCCode = newtable.EPCCode;
|
||||
table.ProjectShortName = newtable.ProjectShortName;
|
||||
table.ProjectCode = newtable.ProjectCode;
|
||||
|
||||
Reference in New Issue
Block a user