‘linchangsheng’ 1 ماه پیش
والد
کامیت
a9b608a325
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      mall-server-api/src/main/java/com/gree/mall/manager/logic/comlist/WorkerComListLogic.java

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/comlist/WorkerComListLogic.java

@@ -74,7 +74,7 @@ public class WorkerComListLogic {
                     .in(!CollectionUtils.isEmpty(adminUser.getAdminWebsitIds()),WebsitUser::getWebsitId, adminUser.getAdminWebsitIds())
                     .isNotNull(WebsitUser::getWorkerNumber)
                     .select(WebsitUser::getWorkerNumber).list();
-            List<String> collect = websitUsers.stream().map(WebsitUser::getWorkerNumber).collect(Collectors.toList());
+            List<String> collect = websitUsers.stream().map(WebsitUser::getWebsitId).collect(Collectors.toList());
 
             List<WorkerComListWebsit> websit = workerComListWebsitService.lambdaQuery()
                     .in(!CollectionUtils.isEmpty(collect),WorkerComListWebsit::getWebsitId,collect)