| | |
| | | if (stat.getCurrentProcessNumber().compareTo(stat.getRoadProcessNumber()) < 0) { |
| | | if (last != null) { |
| | | LocalDateTime lastStartDate = LocalDateTime.ofInstant(last.getProcessPlanStartDay().toInstant(), ZoneId.systemDefault()); |
| | | lastStartDate.plusHours(last.getProcessTotalTime()); |
| | | lastStartDate.plusHours(last.getProcessTotalTime().longValue()); |
| | | stat.setProcessPlanStartDay(Date.from(lastStartDate.atZone(ZoneId.systemDefault()).toInstant())); |
| | | } |
| | | } |
| | |
| | | last = stat; |
| | | stat.setId(IdUtils.fastUUID().toString()); |
| | | stat.setBatchNumber(batchNum); |
| | | stat.setDelFlag("0"); |
| | | apsPartRouteStatMapper.insertApsPartRouteStat(stat); |
| | | } |
| | | } |