【DAOP-1.0】企业认证
【功能点】测试问题处理
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -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 | } | ... | ... | 
- 
Please register or sign in to post a comment
