IClearApiSystemService.java
1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.erry.iclear.dateInterface.service;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @author Administrator
*/
@Service
@Slf4j
public class IClearApiSystemService {
@Autowired
private AppInfoService appInfoService;
@Autowired
private DomesticDestinationMappingService domesticDestinationMappingService;
@Autowired
private DictionaryEntriesService dictionaryEntriesService;
@Autowired
private OrigplacecodeMappingService origplacecodeMappingService;
@Autowired
private ChmCarryPortService chmCarryPortService;
/**
* 刷新缓存
*/
public void refreshAppInfoCache(){
appInfoService.initAppInfo();
dictionaryEntriesService.initDictionaryEntries();
domesticDestinationMappingService.initDomesticDestinationMapping();
origplacecodeMappingService.initOrigplacecodeMapping();
chmCarryPortService.initChmCarryPort();
}
}