feat: bug修复
parent
0b06be853c
commit
407d3c00e4
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue