Revert "修复了海外标准法规,配置标准后,在此节点没有显示此标准的问题"

This reverts commit 9cd93436
This commit is contained in:
zhaokaiyao@91isoft.com
2021-07-27 16:18:58 +08:00
parent 22f5ea5eaf
commit 32afc5475f
2 changed files with 2 additions and 9 deletions
@@ -273,19 +273,15 @@ public class AttFileEOController {
String waterFilePath = newFilePath + attFileEO.getOldFileName();
// 添加水印
String userMsg = "";
String date="";
TsUser tsUser = userDao.selectById(userId);
if (tsUser != null) {
userMsg = tsUser.getUname() + ",";
if (StringUtils.isNotEmpty(tsUser.getWorkNum())) {
userMsg += tsUser.getWorkNum() + ",";
}
}else {
//没有用户信息时
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm");//设置日期格式
date = df.format(new Date());
}
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm");//设置日期格式
String date = df.format(new Date());
String waterContent = userMsg + date;
//2020年9月5日 去掉水印处理
//2021年7月25日要求下载生成水印