移交
This commit is contained in:
@@ -40,17 +40,23 @@ namespace FineUIPro.Web.Transfer
|
||||
strSql += " AND INSTRUMENTATION like @INSTRUMENTATION";
|
||||
listStr.Add(new SqlParameter("@INSTRUMENTATION", "%" + this.txtINSTRUMENTATION.Text.Trim() + "%"));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(txtStarTime.Text.Trim()))
|
||||
|
||||
if (!string.IsNullOrEmpty(ddStatus.SelectedValue))
|
||||
{
|
||||
strSql += " AND Test_Package_START >= @InspectionDateA";
|
||||
listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim())));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(txtEndTime.Text.Trim()))
|
||||
{
|
||||
strSql += " AND Test_Package_START <= @InspectionDateZ";
|
||||
listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim())));
|
||||
strSql += " And FINAL_Status='" + ddStatus.SelectedValue + "' ";
|
||||
}
|
||||
|
||||
//if (!string.IsNullOrEmpty(txtStarTime.Text.Trim()))
|
||||
//{
|
||||
// strSql += " AND Test_Package_START >= @InspectionDateA";
|
||||
// listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim())));
|
||||
//}
|
||||
//if (!string.IsNullOrEmpty(txtEndTime.Text.Trim()))
|
||||
//{
|
||||
// strSql += " AND Test_Package_START <= @InspectionDateZ";
|
||||
// listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim())));
|
||||
//}
|
||||
|
||||
if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim()))
|
||||
{
|
||||
strSql += " AND SystemName like @SystemName";
|
||||
|
||||
Reference in New Issue
Block a user