8a1fdd7a by 肖初晴

【DAOP-1.0】企业认证

【功能点】测试问题处理
1 parent 656bd622
...@@ -58,8 +58,8 @@ public class ObjectUtil { ...@@ -58,8 +58,8 @@ public class ObjectUtil {
58 r.setFieldComment(""); 58 r.setFieldComment("");
59 } 59 }
60 if (oldField.getType() == Date.class) { 60 if (oldField.getType() == Date.class) {
61 r.setOldValue(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format((Date) oldField.get(oldObj))); 61 r.setOldValue(DateUtil.getDateToString((Date)oldField.get(oldObj)));
62 r.setNewValue(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format((Date) newField.get(newObj))); 62 r.setNewValue(DateUtil.getDateToString((Date)oldField.get(newObj)));
63 } 63 }
64 return r; 64 return r;
65 } 65 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!