1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| package com.sinata.appointment.service;
|
| import java.util.Map;
| import lombok.RequiredArgsConstructor;
| import org.springframework.scheduling.annotation.Async;
| import org.springframework.stereotype.Service;
|
| @Service
| @RequiredArgsConstructor
| public class LocalExportAsyncService {
|
| private final ExportApplicationService exportApplicationService;
|
| @Async
| public void process(String taskId, String exportType, Map<String, Object> criteria) {
| exportApplicationService.processLocalExport(taskId, exportType, criteria);
| }
| }
|
|