@@ -264,6 +264,12 @@ namespace GxPress.Repository.Implement.Note
tede_user
WHERE
1 = a.RoleId)
+ OR a.UserId IN (SELECT
+ Id
+ FROM
+ tede_user
+ WHERE
+ 0 = a.RoleId)
OR {sqlStr} IN (SELECT
MiddleId
FROM
@@ -429,7 +435,13 @@ namespace GxPress.Repository.Implement.Note
- 1 = a.RoleId)
+ 1 = a.RoleId)