8a1fdd7a by 肖初晴

【DAOP-1.0】企业认证

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