master
philip 3 years ago
parent 4587d94bf6
commit 0b5a642037

@ -317,6 +317,7 @@ public class PodTemplateServiceImpl implements PodTemplateService {
QueryWrapper<SfcHoldLog> queryWrapper=new QueryWrapper<>();
queryWrapper.eq(SfcHoldLog.SFC,sfc);
queryWrapper.eq(SfcHoldLog.STEP_ID,stepId);
queryWrapper.eq(SfcHoldLog.TYPE,"CANCEL");
List<SfcHoldLog> list = sfcHoldLogService.list(queryWrapper);
if (!list.isEmpty()){
BigDecimal holdTime = list.stream().map(SfcHoldLog::getHoldDuration).reduce(BigDecimal.ZERO, BigDecimal::add);

Loading…
Cancel
Save