| | |
| | | import com.zy.acs.manager.manager.service.CodeGapService; |
| | | import com.zy.acs.manager.manager.service.CodeService; |
| | | import com.zy.acs.manager.manager.service.RouteService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Slf4j |
| | | @Service("codeService") |
| | | public class CodeServiceImpl extends ServiceImpl<CodeMapper, Code> implements CodeService { |
| | | |
| | |
| | | CODE_ID_CACHE.put(code.getId(), code); |
| | | CODE_DATA_CACHE.put(code.getData(), code); |
| | | } |
| | | log.info("The code cache was initialized..."); |
| | | } |
| | | |
| | | @Override |