Authored by mali

鉴定视频排序展示

... ... @@ -113,6 +113,7 @@ public class QiniuLiveRecordService {
buyerOrders.stream().forEach(item -> {
OrderVideoResp orderVideoResp = new OrderVideoResp();
QiniuLiveRecord qiniuLiveRecord = recordMap.get(item.getOrderCode());
orderVideoResp.setCreateTimeInt(qiniuLiveRecord.getEndTime());
orderVideoResp.setCreateTime(DateUtil.getDateFormatEx(qiniuLiveRecord.getEndTime(), DateUtil.MM_dd_yyyy_HH_mm_ssEx));
orderVideoResp.setDesc(configReader.getString("ufo.order.realDesc", "鉴定结果:真"));
orderVideoResp.setVideoPictureUrl(configReader.getString("ufo.order.realVideoPic", "http://img11.static.yhbimg.com/goodsimg/2019/01/15/17/01e7093ff7effcdf76ed191e68e4a5c4ca.png"));
... ... @@ -121,7 +122,9 @@ public class QiniuLiveRecordService {
resps.add(orderVideoResp);
});
return resps;
List<OrderVideoResp> sortResp = resps.stream().sorted((s1, s2) -> s2.getCreateTimeInt().compareTo(s1.getCreateTimeInt())).collect(Collectors.toList());
return sortResp;
}
// 查询宣传视频
... ...