20240814 修改质量管理制度排序
This commit is contained in:
parent
1c756418a2
commit
efb0fb7974
|
@ -14,8 +14,8 @@
|
||||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||||
<Items>
|
<Items>
|
||||||
<f:Grid ID="Grid1" ShowBorder="true" EnableAjax="false" ShowHeader="false" Title="质量管理制度" EnableCollapse="true" OnPageIndexChange="Grid1_PageIndexChange"
|
<f:Grid ID="Grid1" ShowBorder="true" EnableAjax="false" ShowHeader="false" Title="质量管理制度" EnableCollapse="true" OnPageIndexChange="Grid1_PageIndexChange"
|
||||||
runat="server" BoxFlex="1" DataKeyNames="QualityManagementSysId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="QualityManagementSysId" AllowSorting="true" SortField="ApprovalDate"
|
runat="server" BoxFlex="1" DataKeyNames="QualityManagementSysId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="QualityManagementSysId" AllowSorting="true" SortField="FileCode"
|
||||||
SortDirection="DESC" EnableColumnLines="true" ForceFit="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10"
|
SortDirection="ASC" EnableColumnLines="true" ForceFit="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10"
|
||||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True">
|
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True">
|
||||||
<Toolbars>
|
<Toolbars>
|
||||||
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
|
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
|
||||||
|
|
|
@ -224,7 +224,7 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
||||||
{
|
{
|
||||||
lists = lists.Where(x => x.FileName.Contains(this.txtFileName.Text.Trim()));
|
lists = lists.Where(x => x.FileName.Contains(this.txtFileName.Text.Trim()));
|
||||||
}
|
}
|
||||||
lists = lists.OrderByDescending(x => x.ApprovalDate);
|
lists = lists.OrderBy(x => x.FileCode);
|
||||||
if (lists != null)
|
if (lists != null)
|
||||||
{
|
{
|
||||||
string projectName = BLL.ProjectService.GetShortNameByProjectId(this.CurrUser.LoginProjectId);
|
string projectName = BLL.ProjectService.GetShortNameByProjectId(this.CurrUser.LoginProjectId);
|
||||||
|
|
|
@ -38,3 +38,40 @@ IP地址:::1
|
||||||
|
|
||||||
出错时间:08/13/2024 15:04:20
|
出错时间:08/13/2024 15:04:20
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:SqlException
|
||||||
|
错误信息:参数化查询 '(@projectId nvarchar(4000))SELECT p.QualityManagementSysId,
|
||||||
|
' 需要参数 '@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:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||||
|
在 FineUIPro.Web.CQMS.QualityPlanning.QualityManagementSys.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\QualityPlanning\QualityManagementSys.aspx.cs:行号 59
|
||||||
|
在 FineUIPro.Web.CQMS.QualityPlanning.QualityManagementSys.Page_Load(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\QualityPlanning\QualityManagementSys.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)
|
||||||
|
出错时间:08/14/2024 09:45:39
|
||||||
|
出错文件:http://localhost:8579/CQMS/QualityPlanning/QualityManagementSys.aspx
|
||||||
|
IP地址:::1
|
||||||
|
操作人员:JT
|
||||||
|
|
||||||
|
出错时间:08/14/2024 09:45:39
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue