|
|
@ -119,7 +119,7 @@ public class HisRunDataServiceImpl extends ServiceImpl<HisRunDataMapper, HisRunD
|
|
|
|
.eq(HisRunDataInfo::getItemId, reqDTO.getItemId())
|
|
|
|
.eq(HisRunDataInfo::getItemId, reqDTO.getItemId())
|
|
|
|
.eq(HisRunDataInfo::getTpId, reqDTO.getTpId())
|
|
|
|
.eq(HisRunDataInfo::getTpId, reqDTO.getTpId())
|
|
|
|
.eq(HisRunDataInfo::getInstanceId, reqDTO.getInstanceId())
|
|
|
|
.eq(HisRunDataInfo::getInstanceId, reqDTO.getInstanceId())
|
|
|
|
.orderByAsc(HisRunDataInfo::getTimestamp)
|
|
|
|
.orderByDesc(HisRunDataInfo::getTimestamp)
|
|
|
|
.between(HisRunDataInfo::getTimestamp, startTime, currentDate.getTime())
|
|
|
|
.between(HisRunDataInfo::getTimestamp, startTime, currentDate.getTime())
|
|
|
|
.last("LIMIT 1")
|
|
|
|
.last("LIMIT 1")
|
|
|
|
.one();
|
|
|
|
.one();
|
|
|
|