This commit is contained in:
2024-06-28 14:11:00 +08:00
parent 8cc67a3f48
commit 29a6bad939
11 changed files with 258 additions and 116 deletions
@@ -96,9 +96,8 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
}
if (drpAudit.SelectedValue!= Const._Null && drpAudit.SelectedValue != "全部")
{
int status = drpAudit.SelectedValue == "已审核" ? 1 : 0;
strSql += " AND weldJoint.AuditStatus=@AuditStatus";
listStr.Add(new SqlParameter("@AuditStatus", status));
strSql += " AND (case weldJoint.AuditStatus when 1 then '已审核' else '未审核' end )=@AuditStatus";
listStr.Add(new SqlParameter("@AuditStatus", drpAudit.SelectedValue));
}
if (this.drpWorkAreaId.SelectedValue != Const._Null && this.drpWorkAreaId.SelectedValue != null)
{