MOKASZ\lw12420 2 лет назад
Родитель
Сommit
e846f22bde

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

@@ -648,13 +648,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())) {