MrShi
8 天以前 3845c70bd7ce578b65522ad020a8dc524316b4d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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();
    }
}