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