修改合并pdf多语言提示
parent
14dbce6c82
commit
2a3d8dae93
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue