‘linchangsheng’ há 10 meses atrás
pai
commit
c57e17e2bd

+ 1 - 1
mall-miniapp-service/src/main/java/com/gree/mall/miniapp/logic/workorder/OrderBaseLogic.java

@@ -176,7 +176,7 @@ public class OrderBaseLogic {
             return new Page<>(pageNum,pageSize);
         }
         List<String> orderBaseIds = pgOrderWorkerService.lambdaQuery()
-                    .eq(PgOrderWorker::getWorkerId, currentCompanyWechat.getUserId())
+                    .eq(PgOrderWorker::getWorkerId, currentCompanyWechat.getUser().getWorkerNumber())
                     .list().stream().map(PgOrderWorker::getOrderBaseId).distinct().collect(Collectors.toList());
 
         if(byDay != null){