huodongdong 6 anni fa
parent
commit
7450e47d4f

+ 1 - 1
rankin-user-service/src/main/java/cn/rankin/userservice/controller/WhiteUserController.java

@@ -126,7 +126,7 @@ public class WhiteUserController {
         for (WhiteUser whiteUser : whiteUserList) {
             userIdList.add(whiteUser.getUserId());
             String merchantId = whiteUser.getMerchantId();
-            if (merchantIdList.contains(merchantId)) {
+            if (!merchantIdList.contains(merchantId)) {
                 merchantIdList.add(merchantId);
             }
         }