11
This commit is contained in:
@@ -67,8 +67,15 @@ namespace FineUIPro.Web.ContinuousPrint
|
||||
{
|
||||
str += " and isnull(a.CH_PrintDate,'')=''";
|
||||
}
|
||||
|
||||
}
|
||||
string strSql = @"select a.CH_TrustID,a.CH_TrustCode,a.CH_TrustDate,a.CH_Printer,a.CH_PrintDate,b.ProjectCode,b.ProjectName,b.ShortName,b.StartDate,b.EndDate from HJGL_CH_Trust as a inner join Base_Project as b on a.ProjectId=b.ProjectId where 1=1 and a.ProjectId= @ProjectId" + str;
|
||||
str += " ORDER BY a.CH_TrustDate DESC";
|
||||
|
||||
string strSql = @"select a.CH_TrustID,a.CH_TrustCode,a.CH_TrustDate,a.CH_Printer,
|
||||
a.CH_PrintDate,b.ProjectCode,b.ProjectName,b.ShortName,b.StartDate,b.EndDate
|
||||
from HJGL_CH_Trust as a
|
||||
inner join Base_Project as b on a.ProjectId=b.ProjectId
|
||||
where 1=1 and a.ProjectId= @ProjectId" + str;
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", ProjectId));
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
@@ -112,6 +119,11 @@ namespace FineUIPro.Web.ContinuousPrint
|
||||
Grid1.SortField = e.SortField;
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void Grid2_Sort(object sender, FineUIPro.GridSortEventArgs e)
|
||||
{
|
||||
BindGrid1(this.Grid1.SelectedRowID);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 选择加载
|
||||
|
||||
Reference in New Issue
Block a user