修改合并pdf多语言提示

dev
IT-xiaoXiong 2021-11-18 18:23:35 +08:00
parent 14dbce6c82
commit 2a3d8dae93
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public class ConvertPdfAction implements Action {
} }
if(StringUtils.isNullOrEmpty(mergeToField)){ if(StringUtils.isNullOrEmpty(mergeToField)){
// TODO 修改labelId // TODO 修改labelId
requestInfo.getRequestManager().setMessagecontent(Util.getHtmlLabelName(-10101,user.getLanguage(),"没有配置合并后PDF存放字段请联系管理员")); requestInfo.getRequestManager().setMessagecontent(Util.getHtmlLabelName(-88650,user.getLanguage(),"没有配置合并后PDF存放字段请联系管理员"));
requestInfo.getRequestManager().setMessageid("1"); requestInfo.getRequestManager().setMessageid("1");
return Action.FAILURE_AND_CONTINUE; return Action.FAILURE_AND_CONTINUE;
} }
@ -108,7 +108,7 @@ public class ConvertPdfAction implements Action {
if(fileId <= 0){ if(fileId <= 0){
toolUtil.writeErrorLog("文件合并错误!(-2:用户为空,-1:文档获取异常)、错误id" + fileId); toolUtil.writeErrorLog("文件合并错误!(-2:用户为空,-1:文档获取异常)、错误id" + fileId);
// TODO 修改labelId // TODO 修改labelId
requestInfo.getRequestManager().setMessagecontent(Util.getHtmlLabelName(-10101,user.getLanguage(),"合并pdf错误请联系管理员")); requestInfo.getRequestManager().setMessagecontent(Util.getHtmlLabelName(-88651,user.getLanguage(),"合并pdf错误请联系管理员"));
requestInfo.getRequestManager().setMessageid("1"); requestInfo.getRequestManager().setMessageid("1");
return Action.FAILURE_AND_CONTINUE; return Action.FAILURE_AND_CONTINUE;
} }