Skip to content

Commit

Permalink
离职用户判断跳过hadoop
Browse files Browse the repository at this point in the history
  • Loading branch information
xlinliu committed Feb 13, 2025
1 parent 3d8ee02 commit 1b95cd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public Message isDismissed(@RequestBody Map<String, List<String>> body) {
List<Map<String, Boolean>> userStatus = new ArrayList<>(usernames.size());
for (String username : usernames) {
boolean isDismissed;
if (username.startsWith("hduser") || username.startsWith("WTSS_")) {
if (username.startsWith("hduser") || username.startsWith("WTSS_") || "hadoop".equalsIgnoreCase(username)) {
isDismissed = false;
} else {
StaffInfo staffInfo = staffInfoGetter.getStaffInfoByUsername(username);
Expand Down

0 comments on commit 1b95cd9

Please sign in to comment.