package com.doumee.timer.init;
|
|
import com.doumee.biz.system.SystemDictDataBiz;
|
import com.doumee.core.utils.Constants;
|
import com.doumee.service.business.InitService;
|
import com.doumee.service.business.ShopService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.context.annotation.Lazy;
|
import org.springframework.data.redis.core.RedisTemplate;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.PostConstruct;
|
|
/**
|
* 志邦组织信息表Service实现
|
* @author 江蹄蹄
|
* @date 2024/07/04 14:40
|
*/
|
@Service
|
public class InitBizService {
|
|
@Autowired
|
@Lazy
|
private InitService initService;
|
|
@PostConstruct
|
public void clearImporting(){
|
initService.clearImporting();
|
}
|
@PostConstruct
|
public void refreshZbomDictDataCache(){
|
initService.refreshZbomDictDataCache();
|
}
|
@PostConstruct
|
public void cacheShopTree(){
|
// redisTemplate.opsForValue().set(Constants.RedisKeys.SHOP_TREE,shopService.shopTree(null));
|
}
|
}
|