feat: bug修复

dev
zhanglei 2026-07-27 18:30:28 +08:00
parent 0b06be853c
commit 407d3c00e4
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ public class WpsExecutor implements WpsApi {
} }
protected WpsDocEntity doCreateBlankDoc(Long userId, String docxUrl, Long projectId) { protected WpsDocEntity doCreateBlankDoc(Long userId, String docxUrl, Long projectId) {
if(Objects.nonNull(projectId)) { if(Objects.isNull(projectId)) {
throw new BizException(ErrorCode.EVAL_PROJECT_ERROR); throw new BizException(ErrorCode.EVAL_PROJECT_ERROR);
} }
String resDocxUrl = !StringUtils.hasText(docxUrl) ? defDocxUrl : docxUrl; String resDocxUrl = !StringUtils.hasText(docxUrl) ? defDocxUrl : docxUrl;