Commit 3893a916 authored by 黄奎's avatar 黄奎

人员查询调整

parent d68dbe4c
...@@ -439,7 +439,10 @@ FROM ...@@ -439,7 +439,10 @@ FROM
{ {
where2.AppendFormat(" AND A.{0} IN({1}) ", nameof(Employee_ViewModel.AccountType), query.AccountTypeStr); where2.AppendFormat(" AND A.{0} IN({1}) ", nameof(Employee_ViewModel.AccountType), query.AccountTypeStr);
} }
if (query.AccountType > 0)
{
where2.AppendFormat(" AND A.{0} IN({1}) ", nameof(Employee_ViewModel.AccountType), (int)query.AccountType);
}
if (!string.IsNullOrEmpty(query.StartEntryTime)) if (!string.IsNullOrEmpty(query.StartEntryTime))
{ {
where.AppendFormat(" AND b.{0}>='{1}' ", nameof(Employee_ViewModel.EntryTime), query.StartEntryTime); where.AppendFormat(" AND b.{0}>='{1}' ", nameof(Employee_ViewModel.EntryTime), query.StartEntryTime);
......
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