bug: 78317政策课题查看更新记录显示问题
This commit is contained in:
+4
-4
@@ -454,12 +454,12 @@ public class SarLawsTopicServiceImpl extends ServiceImpl<SarLawsTopicMapper, Sar
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
||||
String oldDateStr = null;
|
||||
String newDateStr = null;
|
||||
if (newValue != null) {
|
||||
Date oldDate = (Date) newValue;
|
||||
if (oldValue != null) {
|
||||
Date oldDate = (Date) oldValue;
|
||||
oldDateStr = sdf.format(oldDate);
|
||||
}
|
||||
if (oldValue!= null) {
|
||||
Date newDate = (Date) oldValue;
|
||||
if (newValue!= null) {
|
||||
Date newDate = (Date) newValue;
|
||||
newDateStr = sdf.format(newDate);
|
||||
}
|
||||
changes.add(annotationsByType.value() + "由\"" + oldDateStr + "\"改为\"" + newDateStr + "\"");
|
||||
|
||||
Reference in New Issue
Block a user