...
|
...
|
@@ -75,7 +75,7 @@ public class ProductVectorFeatureLogicService { |
|
|
|
|
|
// 1. 取大数据redis的recom_list_dataid 格式为yyyyMMdd
|
|
|
String dataid = getBigDataRecomDateStr();
|
|
|
if (StringUtils.isNotEmpty(dataid) && dataid.trim().length() == 8) {
|
|
|
if (StringUtils.isNotEmpty(dataid) && dataid.trim().length() == 8 && productVectorFeatureService.selectCount(dataid) > 0) {
|
|
|
this.generateDate = dataid;
|
|
|
INDEX_REBUILD_LOG.info("The date for product vector is {}.", dataid);
|
|
|
return;
|
...
|
...
|
|