修改历史数据时间字段

master
gongzhenkun 2 years ago
parent 45c435c293
commit 21aeb4da2d

@ -160,8 +160,8 @@ public class TRecordServiceImpl implements ITRecordService
RecordHistoryDataResp recordHistoryDataResp = new RecordHistoryDataResp();
List<Date> dateList = records.stream().map(TRecord -> {
if (null != TRecord.getUpdateTime()) {
return TRecord.getUpdateTime();
if (null != TRecord.getUploadTime()) {
return TRecord.getUploadTime();
} else {
return TRecord.getCreateTime();
}

Loading…
Cancel
Save