package com.doumee.init;
|
|
import com.doumee.service.business.ImportRecordService;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.PostConstruct;
|
|
@Service
|
@Slf4j
|
public class InitService {
|
|
@Autowired
|
private ImportRecordService importRecordService;
|
@PostConstruct
|
public void initImportTaskStatus() {
|
importRecordService.clearImporTask();
|
}
|
}
|