Commit f8a90857 authored by wangqiang's avatar wangqiang

查询项目增加缓存

parent b8335fc9
...@@ -7,6 +7,8 @@ import com.yonde.dex.basic.common.vo.ExtProgramProjectLinkVO; ...@@ -7,6 +7,8 @@ import com.yonde.dex.basic.common.vo.ExtProgramProjectLinkVO;
import com.yonde.dex.basic.core.service.ExtProgramProjectLinkService; import com.yonde.dex.basic.core.service.ExtProgramProjectLinkService;
import com.yonde.dex.basic.core.service.expand.ExtDxContextService; import com.yonde.dex.basic.core.service.expand.ExtDxContextService;
import com.yonde.dex.basic.core.util.SearchUtil; import com.yonde.dex.basic.core.util.SearchUtil;
import com.yonde.dex.cache.common.annos.DexCacheConfig;
import com.yonde.dex.cache.common.enums.DexCacheTypeEnum;
import com.yonde.dex.context.common.vo.DxContextProjectVO; import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.context.common.vo.DxContextVO; import com.yonde.dex.context.common.vo.DxContextVO;
import com.yonde.dex.context.core.service.shadow.DxContextProjectServiceShadow; import com.yonde.dex.context.core.service.shadow.DxContextProjectServiceShadow;
...@@ -37,6 +39,7 @@ import org.springframework.data.domain.PageImpl; ...@@ -37,6 +39,7 @@ import org.springframework.data.domain.PageImpl;
**/ **/
@Slf4j @Slf4j
@Service(ExtProgramServiceImpl.BEAN_NAME) @Service(ExtProgramServiceImpl.BEAN_NAME)
@DexCacheConfig(cacheClazz=ExtProgramVO.class,close=false,cacheType= DexCacheTypeEnum.FULL_DATA,server=true)
public class ExtProgramServiceImpl<V extends ExtProgramVO> implements ExtProgramService<V> { public class ExtProgramServiceImpl<V extends ExtProgramVO> implements ExtProgramService<V> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment