update 更新记录-时间格式
This commit is contained in:
+2
-2
@@ -597,7 +597,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
|
||||
// 增加入库记录
|
||||
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
String now = dateFormat.format(new Date());
|
||||
String content = loginUser.getNameWorkNo() + " " + now + " 入库" +
|
||||
standardNumber + "《" + standardName + "》";
|
||||
@@ -693,7 +693,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
// 组装更新内容
|
||||
StringBuilder recordBuffer = new StringBuilder();
|
||||
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
String now = dateFormat.format(new Date());
|
||||
recordBuffer.append(loginUser.getNameWorkNo() + " " + now + " 修改" +
|
||||
standardNumber + "《" + standardName + "》,");
|
||||
|
||||
Reference in New Issue
Block a user