Commit 83744e26 authored by 黄奎's avatar 黄奎

查询修改

parent 048fa3a4
......@@ -78,7 +78,14 @@ WHERE 1=1
}
if (query.AuditStatus > -1 && query.AuditStatus<=3)
{
builder.AppendFormat(@" AND A.{0}={1} ", nameof(RB_BackClass_Protocol_ViewModel.AuditStatus), query.AuditStatus);
if (query.AuditStatus == 1)
{
builder.AppendFormat(@" AND A.{0} IN(0,1) ", nameof(RB_BackClass_Protocol_ViewModel.AuditStatus));
}
else
{
builder.AppendFormat(@" AND A.{0}={1} ", nameof(RB_BackClass_Protocol_ViewModel.AuditStatus), query.AuditStatus);
}
}
//待签字
if (query.AuditStatus == 4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment