代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
using FineUIPro;
|
||||
using MiniExcelLibs.Attributes;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Model;
|
||||
|
||||
|
||||
namespace BLL
|
||||
@@ -41,11 +37,11 @@ namespace BLL
|
||||
(string.IsNullOrEmpty(table.ApprovePersonFormCode) || x.ApprovePersonFormCode.Contains(table.ApprovePersonFormCode)) &&
|
||||
(string.IsNullOrEmpty(table.BidWinner) || x.BidWinner.Contains(table.BidWinner)) &&
|
||||
(string.IsNullOrEmpty(table.SetSubReviewCode) || x.SetSubReviewCode.Contains(table.SetSubReviewCode)) &&
|
||||
(string.IsNullOrEmpty(table.ProjectId) || x.ProjectId.Contains(table.ProjectId))&&
|
||||
(string.IsNullOrEmpty(table.BidNoticeCode) || x.BidNoticeCode.Contains(table.BidNoticeCode))&&
|
||||
(string.IsNullOrEmpty(table.BidUnitFileCode) || x.BidUnitFileCode.Contains(table.BidUnitFileCode))&&
|
||||
(table.State == null||x.State==table.State)
|
||||
select x
|
||||
(string.IsNullOrEmpty(table.ProjectId) || x.ProjectId.Contains(table.ProjectId)) &&
|
||||
(string.IsNullOrEmpty(table.BidNoticeCode) || x.BidNoticeCode.Contains(table.BidNoticeCode)) &&
|
||||
(string.IsNullOrEmpty(table.BidUnitFileCode) || x.BidUnitFileCode.Contains(table.BidUnitFileCode)) &&
|
||||
(table.State == null || x.State == table.State)
|
||||
select x
|
||||
;
|
||||
|
||||
return q.ToList();
|
||||
@@ -64,7 +60,7 @@ namespace BLL
|
||||
{
|
||||
return null;
|
||||
}
|
||||
q= q.Take(Grid1.PageSize * Grid1.PageIndex).Skip(Grid1.PageSize * (Grid1.PageIndex)).ToList();
|
||||
q = q.Take(Grid1.PageSize * Grid1.PageIndex).Skip(Grid1.PageSize * (Grid1.PageIndex)).ToList();
|
||||
// q = SortConditionHelper.SortingAndPaging(q, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
return from x in q
|
||||
select new
|
||||
@@ -108,8 +104,8 @@ namespace BLL
|
||||
Model.PHTGL_BidDocumentsStandingBook table = new Model.PHTGL_BidDocumentsStandingBook
|
||||
{
|
||||
BidDocumentsStandingBookId = newtable.BidDocumentsStandingBookId,
|
||||
UnitId= newtable.UnitId,
|
||||
DepartId= newtable.DepartId,
|
||||
UnitId = newtable.UnitId,
|
||||
DepartId = newtable.DepartId,
|
||||
EPCCode = newtable.EPCCode,
|
||||
ProjectShortName = newtable.ProjectShortName,
|
||||
ProjectCode = newtable.ProjectCode,
|
||||
@@ -125,10 +121,10 @@ namespace BLL
|
||||
ApprovePersonFormCode = newtable.ApprovePersonFormCode,
|
||||
BidWinner = newtable.BidWinner,
|
||||
SetSubReviewCode = newtable.SetSubReviewCode,
|
||||
ProjectId= newtable.ProjectId,
|
||||
State=newtable.State,
|
||||
BidNoticeCode=newtable.BidNoticeCode,
|
||||
BidUnitFileCode=newtable.BidUnitFileCode,
|
||||
ProjectId = newtable.ProjectId,
|
||||
State = newtable.State,
|
||||
BidNoticeCode = newtable.BidNoticeCode,
|
||||
BidUnitFileCode = newtable.BidUnitFileCode,
|
||||
};
|
||||
var db1 = Funs.DB;
|
||||
db1.PHTGL_BidDocumentsStandingBook.InsertOnSubmit(table);
|
||||
@@ -150,8 +146,8 @@ namespace BLL
|
||||
if (table != null)
|
||||
{
|
||||
table.BidDocumentsStandingBookId = newtable.BidDocumentsStandingBookId;
|
||||
table.UnitId= newtable.UnitId;
|
||||
table.DepartId= newtable.DepartId;
|
||||
table.UnitId = newtable.UnitId;
|
||||
table.DepartId = newtable.DepartId;
|
||||
table.EPCCode = newtable.EPCCode;
|
||||
table.ProjectShortName = newtable.ProjectShortName;
|
||||
table.ProjectCode = newtable.ProjectCode;
|
||||
@@ -167,10 +163,10 @@ namespace BLL
|
||||
table.ApprovePersonFormCode = newtable.ApprovePersonFormCode;
|
||||
table.BidWinner = newtable.BidWinner;
|
||||
table.SetSubReviewCode = newtable.SetSubReviewCode;
|
||||
table.ProjectId=newtable.ProjectId;
|
||||
table.State=newtable.State;
|
||||
table.BidNoticeCode= newtable.BidNoticeCode;
|
||||
table.BidUnitFileCode=newtable.BidUnitFileCode;
|
||||
table.ProjectId = newtable.ProjectId;
|
||||
table.State = newtable.State;
|
||||
table.BidNoticeCode = newtable.BidNoticeCode;
|
||||
table.BidUnitFileCode = newtable.BidUnitFileCode;
|
||||
db1.SubmitChanges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user