...
|
...
|
@@ -3,7 +3,6 @@ package com.yoho.search.consumer.service.logicService.personal; |
|
|
import com.yoho.search.base.utils.DateUtil;
|
|
|
import com.yoho.search.consumer.service.daoService.ProductVectorFeatureService;
|
|
|
import com.yoho.search.core.personalized.version.PersonalVersionManager;
|
|
|
import com.yoho.search.dal.BrandVectorFeatureMapper;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
...
|
...
|
@@ -24,8 +23,6 @@ public class PersonalVectorVersionManager { |
|
|
private PersonalVersionManager personalVersionManager;
|
|
|
@Autowired
|
|
|
private ProductVectorFeatureService productVectorFeatureService;
|
|
|
@Autowired
|
|
|
private BrandVectorFeatureMapper brandVectorFeatureMapper;
|
|
|
|
|
|
private volatile String generateDate = null;
|
|
|
|
...
|
...
|
@@ -35,9 +32,6 @@ public class PersonalVectorVersionManager { |
|
|
if (productVectorFeatureService.selectCount(dateId) > 0) {
|
|
|
return true;
|
|
|
}
|
|
|
if (brandVectorFeatureMapper.selectCountByDateId(dateId) > 0) {
|
|
|
return true;
|
|
|
}
|
|
|
return false;
|
|
|
}
|
|
|
|
...
|
...
|
|