wangliang 4 년 전
부모
커밋
57ce8bceac
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      distributed-print-business/src/main/java/com/qmth/distributed/print/business/util/CreatePdfUtil.java

+ 3 - 3
distributed-print-business/src/main/java/com/qmth/distributed/print/business/util/CreatePdfUtil.java

@@ -279,16 +279,16 @@ public class CreatePdfUtil {
             if (Objects.isNull(unexposedPaperType)) {
                 throw ExceptionResultEnum.ERROR.exception("当前没有未曝光的卷型");
             } else {
-                paperTypes = unexposedPaperType.split("/");
+                paperTypes = unexposedPaperType.split(",");
             }
         } else {
             if (Objects.isNull(exposedPaperType) && Objects.isNull(unexposedPaperType)) {
                 throw ExceptionResultEnum.ERROR.exception("当前没有未曝光的卷型");
             }
             if (Objects.nonNull(unexposedPaperType)) {
-                paperTypes = unexposedPaperType.split("/");
+                paperTypes = unexposedPaperType.split(",");
             } else {
-                paperTypes = exposedPaperType.split("/");
+                paperTypes = exposedPaperType.split(",");
             }
         }
         int paperRandom = new Random().nextInt(paperTypes.length);