This commit is contained in:
2022-12-12 14:44:11 +08:00
parent d372b10ce2
commit dbd41568b5
3 changed files with 5 additions and 4 deletions
@@ -42,7 +42,8 @@
From Person_Persons AS person
LEFT JOIN Base_Unit AS Unit ON Unit.UnitId=person.UnitId
LEFT JOIN Base_Depart AS Depart ON Depart.DepartId=person.DepartId
WHERE RoleIds IS NOT NULL AND person.PersonId !='" + Const.sysglyId + "' AND person.PersonId !='" + Const.hfnbdId + "' AND person.PersonId !='" + Const.sedinId + "'";
WHERE RoleIds IS NOT NULL AND RoleIds != '' AND Account IS NOT NULL AND Account !=''
AND person.PersonId !='" + Const.sysglyId + "' AND person.PersonId !='" + Const.hfnbdId + "' AND person.PersonId !='" + Const.sedinId + "'";
List<SqlParameter> listStr = new List<SqlParameter>();
//if (rbUnit.SelectedValue == "0")
//{