Merge pull request #37 from HeyFL/develop

修复线程监控获取完成任务总数取值错误问题.
pull/40/head
longtai 3 years ago committed by GitHub
commit b1229956f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();

Loading…
Cancel
Save