Browse Source

bug修改

xiaof 4 years ago
parent
commit
05f77e7d5e

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

@@ -408,7 +408,7 @@ public class CreatePdfUtil {
             if (lock) {
             if (lock) {
                 try {
                 try {
                     paperType = CreatePdfCacheUtil.getPaperType(key);
                     paperType = CreatePdfCacheUtil.getPaperType(key);
-                    if (Objects.isNull(paperType)) {
+                    if (Objects.isNull(paperType) || !unexposedPaperType.contains(paperType)) {
                         if (drawRule == DrawRuleEnum.ONE) {
                         if (drawRule == DrawRuleEnum.ONE) {
                             paperTypes = unexposedPaperType.split(",");
                             paperTypes = unexposedPaperType.split(",");
                         } else {
                         } else {