Commit 4c908c1f by 刘宇峰

暂时去掉

1 parent 7c20b118
......@@ -6,7 +6,6 @@ import cn.com.glsx.admin.modules.model.cloudcrane.response.GoodsSkuListItem;
import cn.com.glsx.admin.modules.model.cloudcrane.response.GoodsSkuListSearchItem;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.w3c.dom.stylesheets.LinkStyle;
import java.util.List;
......
......@@ -24,7 +24,7 @@ public class BaseBrandService {
@Autowired
private CloudCraneService cloudCraneService;
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "brandList")
@Cacheable(value = "brandList")
public List<QueryBrandListResponse> queryBrandList() {
List<BaseBrand> brandList = baseBrandMapper.selectList();
List<QueryBrandListResponse> list = brandList.parallelStream()
......
......@@ -26,7 +26,7 @@ public class BaseCategoryService {
@Autowired
private CloudCraneService cloudCraneService;
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "oneCategoryList")
@Cacheable(value = "oneCategoryList")
public List<QueryOneCategoryListResponse> queryOneCategoryList() {
List<BaseCategory> oneCategoryList = baseCategoryMapper.selectByCategoryLevel(1);
List<QueryOneCategoryListResponse> list = oneCategoryList.parallelStream()
......@@ -38,7 +38,7 @@ public class BaseCategoryService {
return cloudCraneService.queryOneCategoryList();
}
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "secondCategoryList", key = "#parentCategoryCode")
@Cacheable(value = "secondCategoryList", key = "#parentCategoryCode")
public List<QuerySecondCategoryListResponse> querySecondCategoryList(String parentCategoryCode) {
List<BaseCategory> twoCategoryList = baseCategoryMapper.selectByParentCategoryCode(parentCategoryCode);
List<QuerySecondCategoryListResponse> list = twoCategoryList.parallelStream()
......@@ -50,7 +50,7 @@ public class BaseCategoryService {
return cloudCraneService.querySecondCategoryList(parentCategoryCode);
}
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "threeCategoryList", key = "#parentCategoryCode")
@Cacheable(value = "threeCategoryList", key = "#parentCategoryCode")
public List<QueryThreeCategoryListResponse> queryThreeCategoryList(String parentCategoryCode) {
List<BaseCategory> threeCategoryList = baseCategoryMapper.selectByParentCategoryCode(parentCategoryCode);
List<QueryThreeCategoryListResponse> list = threeCategoryList.parallelStream()
......
......@@ -49,7 +49,7 @@ public class BaseDistrictService {
}
}
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "addressProvinces")
@Cacheable(value = "addressProvinces")
public List<QueryAddressProvinceResponse> queryAddressProvince() {
List<BaseDistrict> addressProvinceList = baseDistrictMapper.selectByAddressLevel(1001);
......@@ -62,7 +62,7 @@ public class BaseDistrictService {
return cloudCraneService.queryAddressProvince();
}
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "addressCities", key = "#parentAddressCode")
@Cacheable(value = "addressCities", key = "#parentAddressCode")
public List<QueryAddressCityResponse> queryAddressCity(String parentAddressCode) {
List<BaseDistrict> addressCityList = baseDistrictMapper.selectByParentAddressCode(parentAddressCode);
List<QueryAddressCityResponse> list = addressCityList.parallelStream()
......@@ -74,7 +74,7 @@ public class BaseDistrictService {
return cloudCraneService.queryAddressCity(parentAddressCode);
}
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "addressAreas", key = "#parentAddressCode")
@Cacheable(value = "addressAreas", key = "#parentAddressCode")
public List<QueryAddressAreaResponse> queryAddressArea(String parentAddressCode) {
List<BaseDistrict> addressAreaList = baseDistrictMapper.selectByParentAddressCode(parentAddressCode);
List<QueryAddressAreaResponse> list = addressAreaList.parallelStream()
......@@ -86,7 +86,7 @@ public class BaseDistrictService {
return cloudCraneService.queryAddressArea(parentAddressCode);
}
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "addressStreets", key = "#parentAddressCode")
@Cacheable(value = "addressStreets", key = "#parentAddressCode")
public List<QueryAddressStreetResponse> queryAddressStreet(String parentAddressCode) {
List<BaseDistrict> addressStreetList = baseDistrictMapper.selectByParentAddressCode(parentAddressCode);
List<QueryAddressStreetResponse> list = addressStreetList.parallelStream()
......
......@@ -23,7 +23,7 @@ public class BaseExpressService {
@Autowired
private CloudCraneService cloudCraneService;
@Cacheable(cacheNames = {CacheNameTimeConstant.CACHE_24HOURS}, value = "expressList")
@Cacheable(value = "expressList")
public List<QueryExpressListResponse> queryExpressList() {
List<BaseExpress> expressList = baseExpressMapper.selectList();
List<QueryExpressListResponse> list = expressList.parallelStream()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!