|
@@ -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);
|