20240318 开车报告 总结

This commit is contained in:
2024-03-18 15:59:06 +08:00
parent 4d8f810268
commit b625a475e2
57 changed files with 7034 additions and 3490 deletions
@@ -17,7 +17,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
GetButtonPower();
BindGrid();
btnNew.OnClientClick = Window1.GetShowReference("FeedTestRunReportEdit.aspx") + "return false;";
BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
//BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
}
}
#endregion
@@ -44,11 +44,11 @@ namespace FineUIPro.Web.TestRun.DriverReport
+ @" WHERE report.ProjectId=@projectId AND report.ReportType='4'";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
if (!string.IsNullOrEmpty(this.drpUnitWorkId.SelectedValue) && this.drpUnitWorkId.SelectedValue != BLL.Const._Null)
{
strSql += " AND report.UnitWorkId=@unitWorkId";
listStr.Add(new SqlParameter("@unitWorkId", this.drpUnitWorkId.SelectedValue));
}
//if (!string.IsNullOrEmpty(this.drpUnitWorkId.SelectedValue) && this.drpUnitWorkId.SelectedValue != BLL.Const._Null)
//{
// strSql += " AND report.UnitWorkId=@unitWorkId";
// listStr.Add(new SqlParameter("@unitWorkId", this.drpUnitWorkId.SelectedValue));
//}
if (!string.IsNullOrEmpty(this.txtDriverReporName.Text.Trim()))
{
strSql += " AND report.DriverReporName LIKE @DriverReporName";