bug: 78317政策课题查看更新记录显示问题

This commit is contained in:
wxyclub
2023-11-14 13:53:52 +08:00
parent 02db88e2a3
commit 8a25004f71
@@ -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 + "\"");