| | |
| | | import com.doumee.service.business.MemberService; |
| | | import com.doumee.service.business.impl.hksync.HkSyncEmpowerServiceImpl; |
| | | import com.doumee.service.business.impl.hksync.HkSyncImgServiceImpl; |
| | | import com.doumee.service.business.impl.hksync.HkSyncParkServiceImpl; |
| | | import com.doumee.service.business.impl.hksync.ferp.HkSyncOrgUserToHKServiceImpl; |
| | | import com.doumee.service.business.impl.hksync.HkSyncVisitServiceImpl; |
| | | import com.doumee.service.business.impl.hksync.fhk.HkSyncVehicleFromHKServiceImpl; |
| | |
| | | @EnableScheduling |
| | | public class ScheduleTool { |
| | | |
| | | @Autowired |
| | | private HkSyncParkServiceImpl hkSyncParkService; |
| | | @Autowired |
| | | private HkSyncImgServiceImpl hkSyncImgService; |
| | | @Autowired |
| | |
| | | */ |
| | | @Scheduled(fixedDelay= 60*1000) |
| | | public void syncParkBookData() { |
| | | hkSyncImgService.syncParkBookData(); |
| | | hkSyncParkService.syncParkBookData(); |
| | | } |
| | | |
| | | |