Browse Source

群列表展示按钮v0.07

(cherry picked from commit e846f22bde1d243e5d45b33f1a6ce1d68d3e67da)
MOKASZ\lw12420 2 years ago
parent
commit
0728afd17c

+ 8 - 7
launch-admin/src/main/java/com/webflux/launchadmin/mysql/controller/planNew/PlanNewOutController.java

@@ -649,13 +649,14 @@ public class PlanNewOutController {
                 throw  new BaseException("isNull(goRequest) setEndData()");
             }
             QrcodeInfo stringBuilder = getQrcodeInfo(goRequest);
-            Mono<QrcodeInfo> qrcodeInfoMono ;
-            if(Objects.nonNull(fm.getPlanNew().groupListDisplay()) && fm.getPlanNew().groupListDisplay()==1){
-                qrcodeInfoMono = template.insert(stringBuilder)
-                                .onErrorResume(throwable -> Mono.error(new BaseException("插入QrcodeInfo异常::::" + throwable.getMessage())));
-            }else {
-                qrcodeInfoMono = Mono.just(stringBuilder);
-            }
+            Mono<QrcodeInfo> qrcodeInfoMono = template.insert(stringBuilder)
+                    .onErrorResume(throwable -> Mono.error(new BaseException("插入QrcodeInfo异常::::" + throwable.getMessage())));;
+//            if(Objects.nonNull(fm.getPlanNew().groupListDisplay()) && fm.getPlanNew().groupListDisplay()==1){
+//                qrcodeInfoMono = template.insert(stringBuilder)
+//                                .onErrorResume(throwable -> Mono.error(new BaseException("插入QrcodeInfo异常::::" + throwable.getMessage())));
+//            }else {
+//                qrcodeInfoMono = Mono.just(stringBuilder);
+//            }
            return Mono.zip(qrcodeInfoMono,Mono.just(goRequest),Mono.just(fm)).flatMap(f9->{
                 GoRequest goRequest2 = f9.getT2();
                 if (Objects.nonNull(f9.getT1().id())) {