This commit is contained in:
2024-07-17 17:00:37 +08:00
parent 74550ff62a
commit f268912b72
12 changed files with 122 additions and 58 deletions
@@ -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