20240318 开车报告 总结
This commit is contained in:
@@ -17,7 +17,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
|
||||
GetButtonPower();
|
||||
BindGrid();
|
||||
btnNew.OnClientClick = Window1.GetShowReference("DriverRunCompleteEdit.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='6'";
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user