Commit a0c88e59 authored by liudong1993's avatar liudong1993

1

parent a12a90b5
...@@ -305,7 +305,7 @@ left join {nameof(RB_Post)} p on e.{nameof(RB_Employee.RB_Post_Id)}=p.{nameof(RB ...@@ -305,7 +305,7 @@ left join {nameof(RB_Post)} p on e.{nameof(RB_Employee.RB_Post_Id)}=p.{nameof(RB
} }
if (where.RB_Branch_id >= 0) if (where.RB_Branch_id >= 0)
{ {
sb.AppendFormat(" AND RB_Employee.{0}={1} ", nameof(Model.Entity.RB_Employee.RB_Branch_id), where.RB_Branch_id); sb.AppendFormat(" AND (RB_Employee.{0}={1} or RB_Employee.IsGroupShow=1) ", nameof(Model.Entity.RB_Employee.RB_Branch_id), where.RB_Branch_id);
} }
if (where.RB_Department_Id > 0) if (where.RB_Department_Id > 0)
{ {
......
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