diff --git a/DataBase/版本日志/SGGLDB_V2022-09-08(lipengfei) 修改明细.txt b/DataBase/版本日志/SGGLDB_V2022-09-08(lipengfei) 修改明细.txt
new file mode 100644
index 00000000..ca805bcf
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_V2022-09-08(lipengfei) 修改明细.txt
@@ -0,0 +1,6 @@
+--ADD BY lipengfei 2022-09-08
+1,合同基本信息字段添加
+2,焊接一次合格率查询修改
+3,焊接缺陷分析查询修改
+4,合同mobile针对人员修改
+--END
\ No newline at end of file
diff --git a/DataBase/版本日志/SGGLDB_V2022-09-08(lipengfei).sql b/DataBase/版本日志/SGGLDB_V2022-09-08(lipengfei).sql
new file mode 100644
index 00000000..5a0c5523
Binary files /dev/null and b/DataBase/版本日志/SGGLDB_V2022-09-08(lipengfei).sql differ
diff --git a/SGGL/BLL/PHTGL/ContractCompile/ContractService.cs b/SGGL/BLL/PHTGL/ContractCompile/ContractService.cs
index 543a274f..38809482 100644
--- a/SGGL/BLL/PHTGL/ContractCompile/ContractService.cs
+++ b/SGGL/BLL/PHTGL/ContractCompile/ContractService.cs
@@ -71,44 +71,60 @@ namespace BLL
/// 增加合同基本信息
///
///
- public static void AddContract(Model.PHTGL_Contract contract)
+ public static void AddContract(Model.PHTGL_Contract newtable)
{
- Model.PHTGL_Contract newContract = new Model.PHTGL_Contract();
- newContract.ContractId = contract.ContractId;
- newContract.ContractCode = contract.ContractCode;
- newContract.ProjectId = contract.ProjectId;
- newContract.ContractName = contract.ContractName;
- newContract.ContractNum = contract.ContractNum;
- newContract.Parties = contract.Parties;
- newContract.Currency = contract.Currency;
- newContract.ContractAmount = contract.ContractAmount;
- newContract.DepartId = contract.DepartId;
- newContract.Agent = contract.Agent;
- newContract.ContractType = contract.ContractType;
- newContract.Remarks = contract.Remarks;
- newContract.ApproveState = contract.ApproveState;
- newContract.CreatUser = contract.CreatUser;
- newContract.IsPassBid = contract.IsPassBid;
- newContract.PassBidCode = contract.PassBidCode;
- newContract.BuildUnit = contract.BuildUnit;
- newContract.EPCCode = contract.EPCCode;
- newContract.IsUseStandardtxt = contract.IsUseStandardtxt;
- newContract.NoUseStandardtxtRemark = contract.NoUseStandardtxtRemark;
- newContract.ProjectShortName = contract.ProjectShortName;
- newContract.ContractAttribute = contract.ContractAttribute;
- newContract.ContractAttributeRemark = contract.ContractAttributeRemark;
- newContract.ConfirmWay = contract.ConfirmWay;
- newContract.SetSubReviewCode = contract.SetSubReviewCode;
- newContract.ActionPlanCode = contract.ActionPlanCode;
- newContract.SituationRemark = contract.SituationRemark;
- newContract.OpeningBank_TT = contract.OpeningBank_TT;
- newContract.OpeningBank_Electrophore = contract.OpeningBank_Electrophore;
- newContract.BankAccount_TT = contract.BankAccount_TT;
- newContract.BankAccount_Electrophore = contract.BankAccount_Electrophore;
- newContract.LineNumber_Electrophore = contract.LineNumber_Electrophore;
- newContract.Retentionmoney = contract.Retentionmoney;
- newContract.CreateDate = contract.CreateDate;
- Funs.DB.PHTGL_Contract.InsertOnSubmit(newContract);
+ Model.PHTGL_Contract table = new Model.PHTGL_Contract
+ {
+ ContractId = newtable.ContractId,
+ ProjectId = newtable.ProjectId,
+ ContractName = newtable.ContractName,
+ ContractNum = newtable.ContractNum,
+ Parties = newtable.Parties,
+ Currency = newtable.Currency,
+ ContractAmount = newtable.ContractAmount,
+ DepartId = newtable.DepartId,
+ Agent = newtable.Agent,
+ ContractType = newtable.ContractType,
+ Remarks = newtable.Remarks,
+ ApproveState = newtable.ApproveState,
+ CreatUser = newtable.CreatUser,
+ ContractCode = newtable.ContractCode,
+ IsPassBid = newtable.IsPassBid,
+ PassBidCode = newtable.PassBidCode,
+ BuildUnit = newtable.BuildUnit,
+ IsUseStandardtxt = newtable.IsUseStandardtxt,
+ NoUseStandardtxtRemark = newtable.NoUseStandardtxtRemark,
+ EPCCode = newtable.EPCCode,
+ ProjectShortName = newtable.ProjectShortName,
+ ContractAttribute = newtable.ContractAttribute,
+ ContractAttributeRemark = newtable.ContractAttributeRemark,
+ ConfirmWay = newtable.ConfirmWay,
+ SetSubReviewCode = newtable.SetSubReviewCode,
+ ActionPlanCode = newtable.ActionPlanCode,
+ SituationRemark = newtable.SituationRemark,
+ OpeningBank_TT = newtable.OpeningBank_TT,
+ OpeningBank_Electrophore = newtable.OpeningBank_Electrophore,
+ BankAccount_TT = newtable.BankAccount_TT,
+ BankAccount_Electrophore = newtable.BankAccount_Electrophore,
+ LineNumber_Electrophore = newtable.LineNumber_Electrophore,
+ Retentionmoney = newtable.Retentionmoney,
+ CreateDate = newtable.CreateDate,
+ Status = newtable.Status,
+ ContactPersonOfPartyA = newtable.ContactPersonOfPartyA,
+ ContactPersonOfPartyB = newtable.ContactPersonOfPartyB,
+ ContactPersonPhoneOfPartyB = newtable.ContactPersonPhoneOfPartyB,
+ ContactPersonEmailOfPartyB = newtable.ContactPersonEmailOfPartyB,
+ ContractAmountExcludingTax = newtable.ContractAmountExcludingTax,
+ PriceMethod = newtable.PriceMethod,
+ SignedOnDate = newtable.SignedOnDate,
+ ContractStartDate = newtable.ContractStartDate,
+ ContractEndDate = newtable.ContractEndDate,
+ PricingBasis = newtable.PricingBasis,
+ SubcontractingMethod = newtable.SubcontractingMethod,
+ IsItACentralizedPurchaseSupplier = newtable.IsItACentralizedPurchaseSupplier,
+ ContactUnitOfPartyA = newtable.ContactUnitOfPartyA,
+ };
+ Funs.DB.PHTGL_Contract.InsertOnSubmit(table);
Funs.DB.SubmitChanges();
}
@@ -155,7 +171,20 @@ namespace BLL
newContract.LineNumber_Electrophore = contract.LineNumber_Electrophore;
newContract.Retentionmoney = contract.Retentionmoney;
newContract.CreateDate = contract.CreateDate;
-
+ newContract.Status = contract.Status;
+ newContract.ContactPersonOfPartyA = contract.ContactPersonOfPartyA;
+ newContract.ContactPersonOfPartyB = contract.ContactPersonOfPartyB;
+ newContract.ContactPersonPhoneOfPartyB = contract.ContactPersonPhoneOfPartyB;
+ newContract.ContactPersonEmailOfPartyB = contract.ContactPersonEmailOfPartyB;
+ newContract.ContractAmountExcludingTax = contract.ContractAmountExcludingTax;
+ newContract.PriceMethod = contract.PriceMethod;
+ newContract.SignedOnDate = contract.SignedOnDate;
+ newContract.ContractStartDate = contract.ContractStartDate;
+ newContract.ContractEndDate = contract.ContractEndDate;
+ newContract.PricingBasis = contract.PricingBasis;
+ newContract.SubcontractingMethod = contract.SubcontractingMethod;
+ newContract.IsItACentralizedPurchaseSupplier = contract.IsItACentralizedPurchaseSupplier;
+ newContract.ContactUnitOfPartyA = contract.ContactUnitOfPartyA;
Funs.DB.SubmitChanges();
}
}
diff --git a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ActionPlanReviewDetail.aspx.cs b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ActionPlanReviewDetail.aspx.cs
index ad0b371b..399886d1 100644
--- a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ActionPlanReviewDetail.aspx.cs
+++ b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ActionPlanReviewDetail.aspx.cs
@@ -59,16 +59,16 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
Session["ApproveManModels"] = value;
}
}
- public string UserId
+ public string PersonId
{
get
{
- UserId = Request.Params["UserId"];
- return (string)ViewState["UserId"];
+ PersonId = Request.Params["PersonId"];
+ return (string)ViewState["PersonId"];
}
set
{
- ViewState["UserId"] = value;
+ ViewState["PersonId"] = value;
}
}
#endregion
@@ -86,23 +86,23 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
ApproveManModels = PHTGL_ActionPlanReviewService.GetApproveManModels(_ActionPlanFormation.ProjectID, ActionPlanReviewId);
EndApproveType = ApproveManModels.Count;
//获取当前登录人审批信息
- pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(ActionPlanReviewId, UserId);
+ pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(ActionPlanReviewId, PersonId);
this.txtProjectCode.Text = _ActionPlanFormation.EPCCode;
this.txtProjectName.Text = _ActionPlanFormation.ProjectShortName;
this.txtCreateUser.Text = BLL.Person_PersonsService.GetPersonsNameById(_ActionPlanFormation.CreatUser);
- if (PHTGL_ApproveService.IsApproveMan(ActionPlanReviewId, UserId))
+ if (PHTGL_ApproveService.IsApproveMan(ActionPlanReviewId, PersonId))
{
BindGrid();
}
- else if (UserId == Const.sysglyId || UserId == Const.hfnbdId)
+ else if (PersonId == Const.sysglyId || PersonId == Const.hfnbdId)
{
BindGrid();
}
- else if (_ActionPlanFormation.CreatUser == UserId)
+ else if (_ActionPlanFormation.CreatUser == PersonId)
{
BindGrid();
}
@@ -125,7 +125,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
///
private void BindGrid()
{
- string strSql = @" select u.UserName as ApproveMan,
+ string strSql = @" select u.PersonName as ApproveMan,
App.ApproveDate,
(CASE App.IsAgree WHEN '1' THEN '不同意'
WHEN '2' THEN '同意' END) AS IsAgree,
@@ -133,7 +133,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
App.ApproveId,
App.ApproveType
from PHTGL_Approve as App"
- + @" left join Sys_User AS U ON U.UserId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
+ + @" left join SitePerson_Person AS U ON U.PersonId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
List listStr = new List();
listStr.Add(new SqlParameter("@ContractId", ActionPlanReviewId));
diff --git a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ApproveUserReviewDetail.aspx.cs b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ApproveUserReviewDetail.aspx.cs
index a46be16d..d5dd106d 100644
--- a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ApproveUserReviewDetail.aspx.cs
+++ b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ApproveUserReviewDetail.aspx.cs
@@ -60,16 +60,16 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
Session["pHTGL_Approve"] = value;
}
}
- public string UserId
+ public string PersonId
{
get
{
- UserId = Request.Params["UserId"];
- return (string)ViewState["UserId"];
+ PersonId = Request.Params["PersonId"];
+ return (string)ViewState["PersonId"];
}
set
{
- ViewState["UserId"] = value;
+ ViewState["PersonId"] = value;
}
}
#endregion
@@ -86,24 +86,24 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
EndApproveType = ApproveManModels.Count;
//获取当前登录人审批信息
- pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(ApproveUserReviewID, UserId);
+ pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(ApproveUserReviewID, PersonId);
//文本框赋值
txtBidProject.Text = _Bid.BidProject;
txtProjectName.Text = PHTGL_ActionPlanFormationService.GetPHTGL_ActionPlanFormationById(BidDoc.ActionPlanID).ProjectShortName;
txtBidDocumentsCode.Text = BidDoc.BidDocumentsCode; ;
this.txtCreateUser.Text = BLL.Person_PersonsService.GetPersonsNameById(_Bid.CreateUser);
- if (PHTGL_ApproveService.IsApproveMan(ApproveUserReviewID, UserId))
+ if (PHTGL_ApproveService.IsApproveMan(ApproveUserReviewID, PersonId))
{
BindGrid();
}
- else if (UserId == Const.sysglyId || UserId == Const.hfnbdId)
+ else if (PersonId == Const.sysglyId || PersonId == Const.hfnbdId)
{
BindGrid();
}
- else if (_Bid.CreateUser == UserId)
+ else if (_Bid.CreateUser == PersonId)
{
BindGrid();
}
@@ -119,7 +119,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
///
private void BindGrid()
{
- string strSql = @" select u.UserName as ApproveMan,
+ string strSql = @" select u.PersonName as ApproveMan,
App.ApproveDate,
(CASE App.IsAgree WHEN '1' THEN '不同意'
WHEN '2' THEN '同意' END) AS IsAgree,
@@ -127,7 +127,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
App.ApproveId,
App.ApproveType
from PHTGL_Approve as App"
- + @" left join Sys_User AS U ON U.UserId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
+ + @" left join SitePerson_Person AS U ON U.PersonId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
List listStr = new List();
listStr.Add(new SqlParameter("@ContractId", ApproveUserReviewID));
@@ -148,7 +148,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
,APP.ApproveUserUnit
,APP.Remarks"
+ @" FROM PHTGL_BidApproveUserReview_Sch1 AS APP "
- + @" LEFT JOIN Sys_User AS U ON U.UserId =APP.ApproveUserName "
+ + @" LEFT JOIN SitePerson_Person AS U ON U.PersonId =APP.ApproveUserName "
+ @"where 1=1 AND ApproveUserReviewID = @ApproveUserReviewID ";
List listStr = new List();
if (string.IsNullOrEmpty(ApproveUserReviewID))
diff --git a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/BidDocumentsReviewDetail.aspx.cs b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/BidDocumentsReviewDetail.aspx.cs
index 25ddd15b..9d0dde03 100644
--- a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/BidDocumentsReviewDetail.aspx.cs
+++ b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/BidDocumentsReviewDetail.aspx.cs
@@ -73,16 +73,16 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
Session["pHTGL_Approve"] = value;
}
}
- public string UserId
+ public string PersonId
{
get
{
- UserId = Request.Params["UserId"];
- return (string)ViewState["UserId"];
+ PersonId = Request.Params["PersonId"];
+ return (string)ViewState["PersonId"];
}
set
{
- ViewState["UserId"] = value;
+ ViewState["PersonId"] = value;
}
}
#endregion
@@ -106,22 +106,22 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
ApproveManModels = PHTGL_BidDocumentsReviewService.GetApproveManModels(_Bid.ProjectId, _Bid.BidDocumentsReviewId);
//获取当前登录人审批信息
- pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(BidDocumentsReviewId, UserId);
+ pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(BidDocumentsReviewId, PersonId);
this.txtProjectCode.Text = _ActionPlanFormation.EPCCode;
this.txtProjectName.Text = _ActionPlanFormation.ProjectShortName;
this.txtCreateUser.Text = BLL.Person_PersonsService.GetPersonsNameById(_Bid.CreateUser);
- if (PHTGL_ApproveService.IsApproveMan(BidDocumentsReviewId, UserId))
+ if (PHTGL_ApproveService.IsApproveMan(BidDocumentsReviewId, PersonId))
{
BindGrid();
}
- else if (UserId == Const.sysglyId || UserId == Const.hfnbdId)
+ else if (PersonId == Const.sysglyId || PersonId == Const.hfnbdId)
{
BindGrid();
}
- else if (_Bid.CreateUser == UserId)
+ else if (_Bid.CreateUser == PersonId)
{
BindGrid();
}
@@ -146,7 +146,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
///
private void BindGrid()
{
- string strSql = @" select u.UserName as ApproveMan,
+ string strSql = @" select u.PersonName as ApproveMan,
App.ApproveDate,
(CASE App.IsAgree WHEN '1' THEN '不同意'
WHEN '2' THEN '同意' END) AS IsAgree,
@@ -154,7 +154,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
App.ApproveId,
App.ApproveType
from PHTGL_Approve as App"
- + @" left join Sys_User AS U ON U.UserId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
+ + @" left join SitePerson_Person AS U ON U.PersonId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
List listStr = new List();
listStr.Add(new SqlParameter("@ContractId", BidDocumentsReviewId));
diff --git a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/SetSubReviewDetail.aspx.cs b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/SetSubReviewDetail.aspx.cs
index 70b64c53..eff2ce8a 100644
--- a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/SetSubReviewDetail.aspx.cs
+++ b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/SetSubReviewDetail.aspx.cs
@@ -73,16 +73,16 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
Session["pHTGL_Approve"] = value;
}
}
- public string UserId
+ public string PersonId
{
get
{
- UserId = Request.Params["UserId"];
- return (string)ViewState["UserId"];
+ PersonId = Request.Params["PersonId"];
+ return (string)ViewState["PersonId"];
}
set
{
- ViewState["UserId"] = value;
+ ViewState["PersonId"] = value;
}
}
#endregion
@@ -97,22 +97,22 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
Dic_ApproveMan = PHTGL_SetSubReviewService.Get_DicApproveman(SetSubReviewID);
ApproveManModels = PHTGL_SetSubReviewService.GetApproveManModels(SetSubReviewID);
//获取当前登录人审批信息
- pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(SetSubReviewID, UserId);
+ pHTGL_Approve = BLL.PHTGL_ApproveService.GetPHTGL_ApproveByUserId(SetSubReviewID, PersonId);
//数据加载
Bind();
var _SetSubReview = BLL.PHTGL_SetSubReviewService.GetPHTGL_SetSubReviewById(SetSubReviewID);
- if (PHTGL_ApproveService.IsApproveMan(SetSubReviewID, UserId))
+ if (PHTGL_ApproveService.IsApproveMan(SetSubReviewID, PersonId))
{
BindGrid();
}
- else if (UserId == Const.sysglyId || UserId == Const.hfnbdId)
+ else if (PersonId == Const.sysglyId || PersonId == Const.hfnbdId)
{
BindGrid();
}
- else if (_SetSubReview.CreateUser == UserId)
+ else if (_SetSubReview.CreateUser == PersonId)
{
BindGrid();
}
@@ -236,7 +236,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
///
private void BindGrid()
{
- string strSql = @" select u.UserName as ApproveMan,
+ string strSql = @" select u.PersonName as ApproveMan,
App.ApproveDate,
(CASE App.IsAgree WHEN '1' THEN '不同意'
WHEN '2' THEN '同意' END) AS IsAgree,
@@ -244,7 +244,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement
App.ApproveId,
App.ApproveType
from PHTGL_Approve as App"
- + @" left join Sys_User AS U ON U.UserId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
+ + @" left join SitePerson_Person AS U ON U.PersonId = App.ApproveMan WHERE 1=1 and App.IsAgree <>0 and app.ContractId= @ContractId order by convert(datetime ,App.ApproveDate) ";
List listStr = new List();
listStr.Add(new SqlParameter("@ContractId", SetSubReviewID));
diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt
index e69de29b..34b8e588 100644
--- a/SGGL/FineUIPro.Web/ErrLog.txt
+++ b/SGGL/FineUIPro.Web/ErrLog.txt
@@ -0,0 +1,114 @@
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:列名 'Sex' 无效。
+列名 'IsUsed' 无效。
+错误堆栈:
+ 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
+ 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
+ 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
+ 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
+ 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
+ 在 System.Data.SqlClient.SqlDataReader.get_MetaData()
+ 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
+ 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
+ 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
+ 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
+ 在 BLL.SQLHelper.GetDataTableRunProc(String storedProcName, SqlParameter[] parameters) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 277
+ 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BindGrid() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 90
+ 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BtnAnalyse_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 137
+ 在 FineUIPro.Button.OnClick(EventArgs e)
+ 在 (Button , EventArgs )
+ 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
+ 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
+ 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/08/2022 19:56:26
+出错文件:http://localhost:8008/HJGL/WeldingReport/WelderPerformance.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/08/2022 19:56:26
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:列名 'Sex' 无效。
+列名 'IsUsed' 无效。
+错误堆栈:
+ 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
+ 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
+ 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
+ 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
+ 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
+ 在 System.Data.SqlClient.SqlDataReader.get_MetaData()
+ 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
+ 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
+ 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
+ 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
+ 在 BLL.SQLHelper.GetDataTableRunProc(String storedProcName, SqlParameter[] parameters) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 277
+ 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BindGrid() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 90
+ 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BtnAnalyse_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 137
+ 在 FineUIPro.Button.OnClick(EventArgs e)
+ 在 (Button , EventArgs )
+ 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
+ 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
+ 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/08/2022 19:57:31
+出错文件:http://localhost:8008/HJGL/WeldingReport/WelderPerformance.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/08/2022 19:57:31
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:列名 'Sex' 无效。
+列名 'IsUsed' 无效。
+错误堆栈:
+ 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
+ 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
+ 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
+ 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
+ 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
+ 在 System.Data.SqlClient.SqlDataReader.get_MetaData()
+ 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
+ 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
+ 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
+ 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
+ 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
+ 在 BLL.SQLHelper.GetDataTableRunProc(String storedProcName, SqlParameter[] parameters) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 277
+ 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BindGrid() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 90
+ 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BtnAnalyse_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 137
+ 在 FineUIPro.Button.OnClick(EventArgs e)
+ 在 (Button , EventArgs )
+ 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
+ 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
+ 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/08/2022 19:57:53
+出错文件:http://localhost:8008/HJGL/WeldingReport/WelderPerformance.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/08/2022 19:57:53
+
diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx b/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx
index 008e1829..84f2a1da 100644
--- a/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx
+++ b/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx
@@ -18,12 +18,57 @@
SortField="UnitWorkCode" SortDirection="DESC" OnSort="Grid1_Sort"
AllowPaging="true" IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
EnableTextSelection="True">
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx.cs b/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx.cs
index 89b83780..d8821b86 100644
--- a/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx.cs
+++ b/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx.cs
@@ -15,13 +15,110 @@ namespace FineUIPro.Web.HJGL.WeldingReport
if (!IsPostBack)
{
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+ this.drpJointAttribute.DataTextField = "Text";
+ this.drpJointAttribute.DataValueField = "Value";
+ this.drpJointAttribute.DataSource = BLL.DropListService.HJGL_JointAttribute();
+ this.drpJointAttribute.DataBind();
+ Funs.FineUIPleaseSelect(drpJointAttribute);
+
+ BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
+ BLL.UnitService.InitUnitByProjectIdUnitTypeDropDownList(this.drpUnitId, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);
+
}
}
private void BindGrid()
{
List listStr = new List();
+
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
+ if (this.drpUnitId.SelectedValue != BLL.Const._Null)
+ {
+ listStr.Add(new SqlParameter("@unitcode", this.drpUnitId.SelectedValue));
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@unitcode", null));
+ }
+ if (drpUnitWorkId.SelectedValue != Const._Null)
+ {
+ listStr.Add(new SqlParameter("@UnitWork", drpUnitWorkId.SelectedValue));
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@UnitWork", null));
+
+ }
+
+ if (!string.IsNullOrEmpty(this.txtMaterialCode.Text))
+ {
+ listStr.Add(new SqlParameter("@MaterialCode", "%" + this.txtMaterialCode.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@MaterialCode", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtSingleName.Text))
+ {
+ listStr.Add(new SqlParameter("@SingleName ", "%" + this.txtSingleName.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@SingleName ", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtThickness.Text))
+ {
+ listStr.Add(new SqlParameter("@Thickness", "%" + this.txtThickness.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@Thickness", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtSpecification.Text))
+ {
+ listStr.Add(new SqlParameter("@Specification", "%" + this.txtSpecification.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@Specification", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtWeldTypeCode.Text))
+ {
+ listStr.Add(new SqlParameter("@WeldTypeCode", "%" + this.txtWeldTypeCode.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@WeldTypeCode", null));
+
+ }
+ if (drpJointAttribute.SelectedValue != Const._Null)
+ {
+ listStr.Add(new SqlParameter("@JointAttribute", drpJointAttribute.SelectedValue));
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@JointAttribute", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtPersonName.Text))
+ {
+ listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@PersonName", null));
+
+ }
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunProc("HJGL_rpt_CheckDefects", parameter);
diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx.designer.cs
index 014b4759..c49078f8 100644
--- a/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/HJGL/WeldingReport/DefectStatistics.aspx.designer.cs
@@ -7,11 +7,13 @@
// 自动生成>
//------------------------------------------------------------------------------
-namespace FineUIPro.Web.HJGL.WeldingReport {
-
-
- public partial class DefectStatistics {
-
+namespace FineUIPro.Web.HJGL.WeldingReport
+{
+
+
+ public partial class DefectStatistics
+ {
+
///
/// form1 控件。
///
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-
+
///
/// PageManager1 控件。
///
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.PageManager PageManager1;
-
+
///
/// Panel1 控件。
///
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Panel Panel1;
-
+
///
/// Grid1 控件。
///
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid Grid1;
-
+
///
/// Toolbar1 控件。
///
@@ -56,7 +58,106 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Toolbar Toolbar1;
-
+
+ ///
+ /// drpUnitId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpUnitId;
+
+ ///
+ /// drpUnitWorkId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpUnitWorkId;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// txtMaterialCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtMaterialCode;
+
+ ///
+ /// txtSingleName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtSingleName;
+
+ ///
+ /// txtThickness 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtThickness;
+
+ ///
+ /// txtSpecification 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtSpecification;
+
+ ///
+ /// Toolbar3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar3;
+
+ ///
+ /// txtWeldTypeCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtWeldTypeCode;
+
+ ///
+ /// txtPersonName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtPersonName;
+
+ ///
+ /// drpJointAttribute 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpJointAttribute;
+
///
/// ToolbarFill1 控件。
///
@@ -65,7 +166,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarFill ToolbarFill1;
-
+
///
/// BtnAnalyse 控件。
///
@@ -74,7 +175,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Button BtnAnalyse;
-
+
///
/// btnOut 控件。
///
@@ -83,7 +184,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Button btnOut;
-
+
///
/// ToolbarSeparator1 控件。
///
@@ -92,7 +193,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
-
+
///
/// ToolbarText1 控件。
///
@@ -101,7 +202,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarText ToolbarText1;
-
+
///
/// ddlPageSize 控件。
///
diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx b/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx
index 2fcb3fa2..daf047d1 100644
--- a/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx
+++ b/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx
@@ -23,22 +23,65 @@
+ LabelAlign="Right" Width="240px" LabelWidth="80px" >
+
+
+ LabelAlign="Right" Width="240px" LabelWidth="80px">
+ Width="180px" LabelWidth="80px">
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx.cs b/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx.cs
index 48c370c7..e4c29480 100644
--- a/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx.cs
+++ b/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx.cs
@@ -15,7 +15,13 @@ namespace FineUIPro.Web.HJGL.WeldingReport
if (!IsPostBack)
{
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+ this.drpJointAttribute.DataTextField = "Text";
+ this.drpJointAttribute.DataValueField = "Value";
+ this.drpJointAttribute.DataSource = BLL.DropListService.HJGL_JointAttribute();
+ this.drpJointAttribute.DataBind();
+ Funs.FineUIPleaseSelect(drpJointAttribute);
+ BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
BLL.UnitService.InitUnitByProjectIdUnitTypeDropDownList(this.drpUnitId, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);
BLL.Base_DetectionTypeService.InitDetectionTypeDropDownList(drpDetectionType, true, string.Empty);
@@ -64,6 +70,85 @@ namespace FineUIPro.Web.HJGL.WeldingReport
{
listStr.Add(new SqlParameter("@date2", null));
}
+ if (drpUnitWorkId.SelectedValue != Const._Null)
+ {
+ listStr.Add(new SqlParameter("@UnitWork", drpUnitWorkId.SelectedValue));
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@UnitWork", null));
+
+ }
+
+ if (!string.IsNullOrEmpty(this.txtMaterialCode.Text))
+ {
+ listStr.Add(new SqlParameter("@MaterialCode", "%" + this.txtMaterialCode.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@MaterialCode", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtSingleName.Text))
+ {
+ listStr.Add(new SqlParameter("@SingleName ", "%" + this.txtSingleName.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@SingleName ", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtThickness.Text))
+ {
+ listStr.Add(new SqlParameter("@Thickness", "%" + this.txtThickness.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@Thickness", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtSpecification.Text))
+ {
+ listStr.Add(new SqlParameter("@Specification", "%" + this.txtSpecification.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@Specification", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtWeldTypeCode.Text))
+ {
+ listStr.Add(new SqlParameter("@WeldTypeCode", "%" + this.txtWeldTypeCode.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@WeldTypeCode", null));
+
+ }
+ if (drpJointAttribute.SelectedValue != Const._Null)
+ {
+ listStr.Add(new SqlParameter("@JointAttribute", drpJointAttribute.SelectedValue));
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@JointAttribute", null));
+
+ }
+ if (!string.IsNullOrEmpty(this.txtPersonName.Text))
+ {
+ listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text + "%"));
+
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@PersonName", null));
+
+ }
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunProc("sp_rpt_WelderFirstPassRate", parameter);
diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx.designer.cs
index 6e5554f1..b7aaf51b 100644
--- a/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/HJGL/WeldingReport/FirstPassRate.aspx.designer.cs
@@ -7,11 +7,13 @@
// 自动生成>
//------------------------------------------------------------------------------
-namespace FineUIPro.Web.HJGL.WeldingReport {
-
-
- public partial class FirstPassRate {
-
+namespace FineUIPro.Web.HJGL.WeldingReport
+{
+
+
+ public partial class FirstPassRate
+ {
+
///
/// form1 控件。
///
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-
+
///
/// PageManager1 控件。
///
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.PageManager PageManager1;
-
+
///
/// Panel1 控件。
///
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Panel Panel1;
-
+
///
/// Grid1 控件。
///
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid Grid1;
-
+
///
/// Toolbar1 控件。
///
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Toolbar Toolbar1;
-
+
///
/// drpUnitId 控件。
///
@@ -65,7 +67,16 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList drpUnitId;
-
+
+ ///
+ /// drpUnitWorkId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpUnitWorkId;
+
///
/// drpDetectionType 控件。
///
@@ -74,7 +85,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList drpDetectionType;
-
+
///
/// txtStarTime 控件。
///
@@ -83,7 +94,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtStarTime;
-
+
///
/// Label1 控件。
///
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label1;
-
+
///
/// txtEndTime 控件。
///
@@ -101,7 +112,88 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtEndTime;
-
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// txtMaterialCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtMaterialCode;
+
+ ///
+ /// txtSingleName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtSingleName;
+
+ ///
+ /// txtThickness 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtThickness;
+
+ ///
+ /// txtSpecification 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtSpecification;
+
+ ///
+ /// Toolbar3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar3;
+
+ ///
+ /// txtWeldTypeCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtWeldTypeCode;
+
+ ///
+ /// txtPersonName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtPersonName;
+
+ ///
+ /// drpJointAttribute 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpJointAttribute;
+
///
/// ToolbarFill1 控件。
///
@@ -110,7 +202,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarFill ToolbarFill1;
-
+
///
/// BtnAnalyse 控件。
///
@@ -119,7 +211,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Button BtnAnalyse;
-
+
///
/// btnOut 控件。
///
@@ -128,7 +220,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Button btnOut;
-
+
///
/// ToolbarSeparator1 控件。
///
@@ -137,7 +229,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
-
+
///
/// ToolbarText1 控件。
///
@@ -146,7 +238,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarText ToolbarText1;
-
+
///
/// ddlPageSize 控件。
///
diff --git a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractFormationEdit.aspx b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractFormationEdit.aspx
index e18c4a63..a50e943a 100644
--- a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractFormationEdit.aspx
+++ b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractFormationEdit.aspx
@@ -25,21 +25,21 @@
<%--
diff --git a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractStandingBook.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractStandingBook.aspx.cs
index a7f76e14..8f251fb3 100644
--- a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractStandingBook.aspx.cs
+++ b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractStandingBook.aspx.cs
@@ -72,6 +72,23 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
Con.EPCCode,
con.ProjectShortName,
(convert(varchar(20), Sub.SignedYear) + '年' + convert(varchar(20), Sub.SignedMonth) + '月') as DepartName,
+ (CASE Con.Status WHEN '0' THEN '已签订'
+ WHEN '1' THEN '已完毕' END) as Status,
+ Con.ContactUnitOfPartyA,
+ Con.ContactPersonOfPartyA,
+ Con.ContactPersonOfPartyB,
+ Con.ContactPersonPhoneOfPartyB,
+ Con.ContactPersonEmailOfPartyB,
+ Con.ContractAmountExcludingTax,
+ Con.PriceMethod,
+ CONVERT(varchar(100), SignedOnDate, 111) as SignedOnDate,
+ CONVERT(varchar(100), ContractStartDate, 111) as ContractStartDate,
+ CONVERT(varchar(100), ContractEndDate, 111) as ContractEndDate,
+ Con.PricingBasis,
+ (CASE Con.SubcontractingMethod WHEN '1' then '内部分包'
+ WHEN '2' THEN '外部分包' END ) as SubcontractingMethod,
+ (CASE Con.IsItACentralizedPurchaseSupplier WHEN '0' then '否'
+ WHEN '1' THEN '是' END ) as IsItACentralizedPurchaseSupplier,
Sub.Bank1,
Sub.SubcontractPriceForm,
Sub.Account1"
diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/ContractFile.aspx b/SGGL/FineUIPro.Web/PHTGL/Filing/ContractFile.aspx
index badb84f1..5a52327c 100644
--- a/SGGL/FineUIPro.Web/PHTGL/Filing/ContractFile.aspx
+++ b/SGGL/FineUIPro.Web/PHTGL/Filing/ContractFile.aspx
@@ -94,6 +94,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -130,6 +172,6 @@
+