| | |
| | | @Transactional |
| | | public void syncLog() { |
| | | Integer dataExpiredDays = Optional.ofNullable(configService.getVal("dataExpiredDays", Integer.class)).orElse(7); |
| | | this.syncTaskLog(dataExpiredDays); |
| | | this.syncActionLog(dataExpiredDays); |
| | | this.syncSegmentLog(dataExpiredDays); |
| | | this.syncJamLog(dataExpiredDays); |
| | | this.syncTravelLog(dataExpiredDays); |
| | | if (dataExpiredDays > 0) { |
| | | this.syncTaskLog(dataExpiredDays); |
| | | this.syncActionLog(dataExpiredDays); |
| | | this.syncSegmentLog(dataExpiredDays); |
| | | this.syncJamLog(dataExpiredDays); |
| | | this.syncTravelLog(dataExpiredDays); |
| | | } |
| | | } |
| | | |
| | | public void syncTaskLog(Integer dataExpiredDays){ |