diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index 4d24ae20..479c4756 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -38,3 +38,40 @@ IP地址:::1 出错时间:02/02/2024 11:24:12 + +错误信息开始=====> +错误类型:SqlException +错误信息:参数化查询 '(@ProjectId nvarchar(4000))select * from Transfer_Piping C + ' 需要参数 '@ProjectId',但未提供该参数。 +错误堆栈: + 在 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.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\2023公司项目\五环新\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\SQLHelper.cs:行号 311 + 在 FineUIPro.Web.Transfer.Piping.BindGrid() 位置 E:\2023公司项目\五环新\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Transfer\Piping.aspx.cs:行号 58 + 在 FineUIPro.Web.Transfer.Piping.Page_Load(Object sender, EventArgs e) 位置 E:\2023公司项目\五环新\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Transfer\Piping.aspx.cs:行号 24 + 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) + 在 System.EventHandler.Invoke(Object sender, EventArgs e) + 在 System.Web.UI.Control.OnLoad(EventArgs e) + 在 System.Web.UI.Control.LoadRecursive() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:02/04/2024 10:42:45 +出错文件:http://localhost:8579/Transfer/Piping.aspx +IP地址:::1 +操作人员:JT + +出错时间:02/04/2024 10:42:45 + diff --git a/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx b/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx index fe64043c..8c21f332 100644 --- a/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx @@ -28,7 +28,7 @@ - + diff --git a/SGGL/FineUIPro.Web/Transfer/Chart/TransferChart.aspx b/SGGL/FineUIPro.Web/Transfer/Chart/TransferChart.aspx index 9a83c9cc..5933171b 100644 --- a/SGGL/FineUIPro.Web/Transfer/Chart/TransferChart.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Chart/TransferChart.aspx @@ -19,7 +19,7 @@ - + @@ -43,8 +43,9 @@ --%> - - + + + <%-- diff --git a/SGGL/FineUIPro.Web/Transfer/Chart/TransferChart.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Chart/TransferChart.aspx.designer.cs index 0576a553..fe4095aa 100644 --- a/SGGL/FineUIPro.Web/Transfer/Chart/TransferChart.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Chart/TransferChart.aspx.designer.cs @@ -77,6 +77,15 @@ namespace FineUIPro.Web.Transfer.Chart /// protected global::FineUIPro.DatePicker txtStarTime; + /// + /// Label3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label3; + /// /// txtEndTime 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx index e31a2e4d..eae82268 100644 --- a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx +++ b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.cs b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.cs index b9844950..24c855b6 100644 --- a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.cs @@ -50,6 +50,12 @@ namespace FineUIPro.Web.Transfer strSql += " AND Test_Package_START <= @InspectionDateZ"; listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SystemName like @SystemName"; + listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); + } + strSql += " order by Civil_Structure "; SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); diff --git a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.designer.cs index 783a843e..4fbe8adf 100644 --- a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.designer.cs @@ -68,6 +68,15 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.TextBox txtCivil_Structure; + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx index 66d65ca6..22689192 100644 --- a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.cs index 0c674ca9..12d64925 100644 --- a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.cs @@ -51,6 +51,12 @@ namespace FineUIPro.Web.Transfer listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SystemName like @SystemName"; + listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); + } + strSql += " order by ELECTRICAL "; SqlParameter[] parameter = listStr.ToArray(); diff --git a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.designer.cs index 07ce47f3..da5c48b7 100644 --- a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.designer.cs @@ -68,6 +68,15 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.TextBox txtELECTRICAL; + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx b/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx index c342ea2e..110128f9 100644 --- a/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx.cs index e31ff404..c18a64d4 100644 --- a/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx.cs @@ -50,6 +50,11 @@ namespace FineUIPro.Web.Transfer strSql += " AND Test_Package_START <= @InspectionDateZ"; listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SystemName like @SystemName"; + listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); + } strSql += " order by Firefighting "; diff --git a/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx.designer.cs index f8080d74..fe469cc9 100644 --- a/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Firefighting.aspx.designer.cs @@ -68,6 +68,15 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.TextBox txtFirefighting; + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/HVAC.aspx b/SGGL/FineUIPro.Web/Transfer/HVAC.aspx index 0705d0af..752f6115 100644 --- a/SGGL/FineUIPro.Web/Transfer/HVAC.aspx +++ b/SGGL/FineUIPro.Web/Transfer/HVAC.aspx @@ -25,6 +25,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/HVAC.aspx.cs b/SGGL/FineUIPro.Web/Transfer/HVAC.aspx.cs index 2c981fe7..eb9cc132 100644 --- a/SGGL/FineUIPro.Web/Transfer/HVAC.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/HVAC.aspx.cs @@ -50,6 +50,12 @@ namespace FineUIPro.Web.Transfer strSql += " AND Test_Package_START <= @InspectionDateZ"; listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SystemName like @SystemName"; + listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); + } + strSql += " order by HVAC "; SqlParameter[] parameter = listStr.ToArray(); diff --git a/SGGL/FineUIPro.Web/Transfer/HVAC.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/HVAC.aspx.designer.cs index b796f0e3..95a07ad2 100644 --- a/SGGL/FineUIPro.Web/Transfer/HVAC.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/HVAC.aspx.designer.cs @@ -68,6 +68,15 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.TextBox txtHVAC; + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx index ca15bdec..6ce2465d 100644 --- a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.cs index 00eb6ea4..2d7a5239 100644 --- a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.cs @@ -51,6 +51,12 @@ namespace FineUIPro.Web.Transfer listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SystemName like @SystemName"; + listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); + } + strSql += " order by INSTRUMENTATION "; SqlParameter[] parameter = listStr.ToArray(); diff --git a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.designer.cs index e7fd10a4..5272a8ec 100644 --- a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.designer.cs @@ -68,6 +68,15 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.TextBox txtINSTRUMENTATION; + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/Piping.aspx b/SGGL/FineUIPro.Web/Transfer/Piping.aspx index bc004f71..09bf59a1 100644 --- a/SGGL/FineUIPro.Web/Transfer/Piping.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Piping.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/Piping.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Piping.aspx.cs index dc32495c..f1f900ba 100644 --- a/SGGL/FineUIPro.Web/Transfer/Piping.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Piping.aspx.cs @@ -49,6 +49,11 @@ namespace FineUIPro.Web.Transfer strSql += " AND TestPackageSTART <= @InspectionDateZ"; listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SYSTEM like @SYSTEM"; + listStr.Add(new SqlParameter("@SYSTEM", "%" + this.txtSystem.Text.Trim() + "%")); + } SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); Grid1.RecordCount = tb.Rows.Count; diff --git a/SGGL/FineUIPro.Web/Transfer/Piping.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Piping.aspx.designer.cs index 9ddaec3f..282fb9a7 100644 --- a/SGGL/FineUIPro.Web/Transfer/Piping.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Piping.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.Transfer { - - - public partial class Piping { - +namespace FineUIPro.Web.Transfer +{ + + + public partial class Piping + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// Grid1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// ToolSearch 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar ToolSearch; - + /// /// txtPIPINGLINENUMBER 控件。 /// @@ -65,7 +67,16 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtPIPINGLINENUMBER; - + + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// @@ -74,7 +85,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker txtStarTime; - + /// /// Label1 控件。 /// @@ -83,7 +94,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label1; - + /// /// txtEndTime 控件。 /// @@ -92,7 +103,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker txtEndTime; - + /// /// btnSearch 控件。 /// @@ -101,7 +112,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSearch; - + /// /// btnImport 控件。 /// @@ -110,7 +121,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnImport; - + /// /// lblPageIndex 控件。 /// @@ -119,7 +130,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblPageIndex; - + /// /// g1 控件。 /// @@ -128,7 +139,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g1; - + /// /// g2 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g2; - + /// /// g3 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g3; - + /// /// g4 控件。 /// @@ -155,7 +166,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g4; - + /// /// g5 控件。 /// @@ -164,7 +175,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g5; - + /// /// ToolbarText1 控件。 /// @@ -173,7 +184,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarText ToolbarText1; - + /// /// ddlPageSize 控件。 /// @@ -182,7 +193,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList ddlPageSize; - + /// /// Window1 控件。 /// @@ -191,7 +202,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window1; - + /// /// Window2 控件。 /// @@ -200,7 +211,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window2; - + /// /// WindowAtt 控件。 /// @@ -209,7 +220,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window WindowAtt; - + /// /// Menu1 控件。 /// @@ -218,7 +229,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Menu Menu1; - + /// /// btnMenuDel 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx b/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx index 5a7dcf8c..08a9ed31 100644 --- a/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx.cs index f1873d04..cd19d616 100644 --- a/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx.cs @@ -51,6 +51,11 @@ namespace FineUIPro.Web.Transfer strSql += " AND Test_Package_START <= @InspectionDateZ"; listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SystemName like @SystemName"; + listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); + } strSql += " order by Plumbing "; SqlParameter[] parameter = listStr.ToArray(); diff --git a/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx.designer.cs index d79c6e0c..ae747e36 100644 --- a/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Plumbing.aspx.designer.cs @@ -68,6 +68,15 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.TextBox txtPlumbing; + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx index 28a6a36f..661b0b79 100644 --- a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx +++ b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.cs b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.cs index 806cdd01..62633b6e 100644 --- a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.cs @@ -49,6 +49,11 @@ namespace FineUIPro.Web.Transfer strSql += " AND TestPackageSTART <= @InspectionDateZ"; listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SYSTEM like @SYSTEM"; + listStr.Add(new SqlParameter("@SYSTEM", "%" + this.txtSystem.Text.Trim() + "%")); + } SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); Grid1.RecordCount = tb.Rows.Count; diff --git a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.designer.cs index ca6bd24d..a623f720 100644 --- a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.Transfer { - - - public partial class RotatingEquipment { - +namespace FineUIPro.Web.Transfer +{ + + + public partial class RotatingEquipment + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// Grid1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// ToolSearch 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar ToolSearch; - + /// /// txtRotatingEquipment 控件。 /// @@ -65,7 +67,16 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtRotatingEquipment; - + + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// @@ -74,7 +85,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker txtStarTime; - + /// /// Label1 控件。 /// @@ -83,7 +94,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label1; - + /// /// txtEndTime 控件。 /// @@ -92,7 +103,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker txtEndTime; - + /// /// btnSearch 控件。 /// @@ -101,7 +112,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSearch; - + /// /// btnImport 控件。 /// @@ -110,7 +121,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnImport; - + /// /// lblPageIndex 控件。 /// @@ -119,7 +130,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblPageIndex; - + /// /// g1 控件。 /// @@ -128,7 +139,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g1; - + /// /// g2 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g2; - + /// /// g3 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g3; - + /// /// g5 控件。 /// @@ -155,7 +166,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g5; - + /// /// ToolbarText1 控件。 /// @@ -164,7 +175,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarText ToolbarText1; - + /// /// ddlPageSize 控件。 /// @@ -173,7 +184,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList ddlPageSize; - + /// /// Window1 控件。 /// @@ -182,7 +193,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window1; - + /// /// Window2 控件。 /// @@ -191,7 +202,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window2; - + /// /// WindowAtt 控件。 /// @@ -200,7 +211,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window WindowAtt; - + /// /// Menu1 控件。 /// @@ -209,7 +220,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Menu Menu1; - + /// /// btnMenuDel 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx index 32e177f0..df506ba3 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.cs b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.cs index e774e6bc..107c96d2 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.cs @@ -49,6 +49,12 @@ namespace FineUIPro.Web.Transfer strSql += " AND TestPackageSTART <= @InspectionDateZ"; listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SYSTEM like @SYSTEM"; + listStr.Add(new SqlParameter("@SYSTEM", "%" + this.txtSystem.Text.Trim() + "%")); + } + SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); Grid1.RecordCount = tb.Rows.Count; diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.designer.cs index e428de06..5c8b69a6 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.Transfer { - - - public partial class StaticEquipment { - +namespace FineUIPro.Web.Transfer +{ + + + public partial class StaticEquipment + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// Grid1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// ToolSearch 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar ToolSearch; - + /// /// txtStaticEquipment 控件。 /// @@ -65,7 +67,16 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtStaticEquipment; - + + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 /// @@ -74,7 +85,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker txtStarTime; - + /// /// Label1 控件。 /// @@ -83,7 +94,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label1; - + /// /// txtEndTime 控件。 /// @@ -92,7 +103,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker txtEndTime; - + /// /// btnSearch 控件。 /// @@ -101,7 +112,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSearch; - + /// /// btnImport 控件。 /// @@ -110,7 +121,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnImport; - + /// /// lblPageIndex 控件。 /// @@ -119,7 +130,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblPageIndex; - + /// /// g1 控件。 /// @@ -128,7 +139,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g1; - + /// /// g2 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g2; - + /// /// g3 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g3; - + /// /// g5 控件。 /// @@ -155,7 +166,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupField g5; - + /// /// ToolbarText1 控件。 /// @@ -164,7 +175,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarText ToolbarText1; - + /// /// ddlPageSize 控件。 /// @@ -173,7 +184,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList ddlPageSize; - + /// /// Window1 控件。 /// @@ -182,7 +193,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window1; - + /// /// Window2 控件。 /// @@ -191,7 +202,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window2; - + /// /// WindowAtt 控件。 /// @@ -200,7 +211,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window WindowAtt; - + /// /// Menu1 控件。 /// @@ -209,7 +220,7 @@ namespace FineUIPro.Web.Transfer { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Menu Menu1; - + /// /// btnMenuDel 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/Telecom.aspx b/SGGL/FineUIPro.Web/Transfer/Telecom.aspx index 91edfec2..4868ebb4 100644 --- a/SGGL/FineUIPro.Web/Transfer/Telecom.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Telecom.aspx @@ -24,6 +24,8 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/Telecom.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Telecom.aspx.cs index 767658f8..2043236e 100644 --- a/SGGL/FineUIPro.Web/Transfer/Telecom.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Telecom.aspx.cs @@ -51,6 +51,11 @@ namespace FineUIPro.Web.Transfer strSql += " AND Test_Package_START <= @InspectionDateZ"; listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) + { + strSql += " AND SystemName like @SystemName"; + listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); + } strSql += " order by Telecom "; diff --git a/SGGL/FineUIPro.Web/Transfer/Telecom.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Telecom.aspx.designer.cs index 815afe32..4518bcf3 100644 --- a/SGGL/FineUIPro.Web/Transfer/Telecom.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Telecom.aspx.designer.cs @@ -68,6 +68,15 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.TextBox txtTelecom; + /// + /// txtSystem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystem; + /// /// txtStarTime 控件。 ///