You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 8, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: IMIS_DAL/RoleDAL.vb
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Public Class RoleDAL
39
39
sSQL+="SET @IsDefaultLanguage = 0"
40
40
sSQL+="SELECT [RoleID],[RoleUUID],CASE WHEN @IsDefaultLanguage = 1 THEN [RoleName] ELSE ISNULL(NULLIF(AltLanguage, ''),RoleName) END RoleName, CASE WHEN [IsSystem] > 0 THEN 'True' Else 'False' END System,isSystem,ISNULL(AltLanguage,RoleName) AltLanguage,"
41
41
sSQL+=" CASE WHEN [IsBlocked] = 1 THEN 'True' ELSE 'False' END Blocked,[ValidityFrom],[ValidityTo],[AuditUserID],[LegacyID] FROM tblRole"
42
-
sSQL+=" WHERE (Rolename like '"&erole.RoleName&"%' OR AltLanguage LIKE '"&erole.AltLanguage&"%') AND (isBlocked = @isBlocked OR @isBlocked IS NULL)"
42
+
sSQL+=" WHERE (Rolename like @RoleName OR AltLanguage LIKE @AltLanguage) AND (isBlocked = @isBlocked OR @isBlocked IS NULL)"
DimstrSQLAsString="Select Top 1 * from tblUsers where tblUsers.UserId = @UserId AND tblUsers.UserId = @UserId AND isAssociated = 1 AND ValidityTo is null"'LoginName = @LoginName and
209
+
DimstrSQLAsString="Select Top 1 * from tblUsers where tblUsers.UserId = @UserId AND tblUsers.UserId = @UserId AND isAssociated = 1 AND ValidityTo is null"
0 commit comments