Authored by wangnan

修改类路径

Showing 48 changed files with 2187 additions and 27 deletions
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class BasePinRatio implements Serializable {
private Integer productSkn;
private Integer basePinRatio;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Integer getBasePinRatio() {
return basePinRatio;
}
public void setBasePinRatio(Integer basePinRatio) {
this.basePinRatio = basePinRatio;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class BrokenCode implements Serializable {
private Integer productSkn;
private Double breakingRate;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Double getBreakingRate() {
return breakingRate;
}
public void setBreakingRate(Double breakingRate) {
this.breakingRate = breakingRate;
}
}
... ...
package com.yoho.search.dal.model;
/**
* Created by wangnan on 2016/6/30.
*/
public class DiscountProductSkn {
private Integer productSkn;
private String poolId;
private Double score;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public String getPoolId() {
return poolId;
}
public void setPoolId(String poolId) {
this.poolId = poolId;
}
public Double getScore() {
return score;
}
public void setScore(Double score) {
this.score = score;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class GoodsCoverImage implements Serializable {
private Integer id;
private Integer goodsId;
private String cover_1;
private String cover_2;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getGoodsId() {
return goodsId;
}
public void setGoodsId(Integer goodsId) {
this.goodsId = goodsId;
}
public String getCover_2() {
return cover_2;
}
public void setCover_2(String cover_2) {
this.cover_2 = cover_2;
}
public String getCover_1() {
return cover_1;
}
public void setCover_1(String cover_1) {
this.cover_1 = cover_1;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductActivity implements Serializable {
private Integer productSkn;
private String activity;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public String getActivity() {
return activity;
}
public void setActivity(String activity) {
this.activity = activity;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/29.
*/
public class ProductColors implements Serializable {
private Integer productId;
private String colorIds;
private String colorNames;
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getColorIds() {
return colorIds;
}
public void setColorIds(String colorIds) {
this.colorIds = colorIds;
}
public String getColorNames() {
return colorNames;
}
public void setColorNames(String colorNames) {
this.colorNames = colorNames;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductDefaultImage implements Serializable {
private Integer productId;
private String defaultImage;
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getDefaultImage() {
return defaultImage;
}
public void setDefaultImage(String defaultImage) {
this.defaultImage = defaultImage;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductSearchBrand implements Serializable {
private Integer productSkn;
private Integer brandWeightId;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Integer getBrandWeightId() {
return brandWeightId;
}
public void setBrandWeightId(Integer brandWeightId) {
this.brandWeightId = brandWeightId;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
public class ProductSearchShop implements Serializable {
private Integer productSkn;
private Integer shopWeightId;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Integer getShopWeightId() {
return shopWeightId;
}
public void setShopWeightId(Integer shopWeightId) {
this.shopWeightId = shopWeightId;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductSearchSort implements Serializable {
private Integer productSkn;
private Integer sortWeightId;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Integer getSortWeightId() {
return sortWeightId;
}
public void setSortWeightId(Integer sortWeightId) {
this.sortWeightId = sortWeightId;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductSizes implements Serializable {
private Integer productId;
private String sizeIds;
private String sizeNames;
//private Integer salesNum;
private Integer storageNum;
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getSizeIds() {
return sizeIds;
}
public void setSizeIds(String sizeIds) {
this.sizeIds = sizeIds;
}
public Integer getStorageNum() {
return storageNum;
}
public void setStorageNum(Integer storageNum) {
this.storageNum = storageNum;
}
public String getSizeNames() {
return sizeNames;
}
public void setSizeNames(String sizeNames) {
this.sizeNames = sizeNames;
}
}
... ...
package com.yoho.search.dal.model;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductStyles implements Serializable {
private Integer productId;
private String styleIds;
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getStyleIds() {
return styleIds;
}
public void setStyleIds(String styleIds) {
this.styleIds = styleIds;
}
}
... ...
... ... @@ -11,7 +11,7 @@ import com.yoho.search.consumer.index.common.IIndexBuilder;
import com.yoho.search.consumer.service.base.ProductIndexService;
import com.yoho.search.consumer.service.logic.ProductIndexLogicService;
import com.yoho.search.dal.ProductMapper;
import com.yoho.search.dal.model.ProductIndex;
import com.yoho.search.consumer.service.bo.ProductIndex;
@Component
public class ProductIndexIndexBuilder extends IIndexBuilder {
... ...
... ... @@ -4,7 +4,7 @@ import com.yoho.search.consumer.index.common.IIndexBuilder;
import com.yoho.search.consumer.service.logic.ProductPoolLogicService;
import com.yoho.search.consumer.service.logic.SpecialDealLogicService;
import com.yoho.search.dal.ProductPoolDetailMapper;
import com.yoho.search.dal.model.ProductPool;
import com.yoho.search.consumer.service.bo.ProductPool;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
... ...
... ... @@ -5,7 +5,7 @@ import com.yoho.search.consumer.service.base.Product15DaySalesNumService;
import com.yoho.search.consumer.service.logic.SpecialDealLogicService;
import com.yoho.search.consumer.service.logic.StorageSkuLogicService;
import com.yoho.search.dal.StorageMapper;
import com.yoho.search.dal.model.StorageSku;
import com.yoho.search.consumer.service.bo.StorageSku;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
... ...
... ... @@ -27,7 +27,7 @@ import com.yoho.search.consumer.service.base.ProductIndexService;
import com.yoho.search.consumer.service.logic.ProductIndexLogicService;
import com.yoho.search.core.es.model.ESBluk;
import com.yoho.search.core.es.utils.IgnoreSomeException;
import com.yoho.search.dal.model.ProductIndex;
import com.yoho.search.consumer.service.bo.ProductIndex;
@Component
public class AbstractMqListener implements ApplicationEventPublisherAware {
... ...
... ... @@ -11,7 +11,7 @@ import com.yoho.search.base.utils.ConvertUtils;
import com.yoho.search.base.utils.EventReportEnum;
import com.yoho.search.base.utils.ISearchConstans;
import com.yoho.search.dal.model.GoodsImages;
import com.yoho.search.dal.model.ProductGoods;
import com.yoho.search.consumer.service.bo.ProductGoods;
import com.yoho.search.core.es.utils.IgnoreSomeException;
import com.yoho.error.event.SearchEvent;
... ...
... ... @@ -16,9 +16,9 @@ import com.yoho.search.consumer.service.base.StorageService;
import com.yoho.search.consumer.service.logic.StorageSkuLogicService;
import com.yoho.search.core.es.utils.IgnoreSomeException;
import com.yoho.search.dal.model.Goods;
import com.yoho.search.dal.model.ProductGoods;
import com.yoho.search.consumer.service.bo.ProductGoods;
import com.yoho.search.dal.model.Storage;
import com.yoho.search.dal.model.StorageSku;
import com.yoho.search.consumer.service.bo.StorageSku;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... ...
... ... @@ -17,9 +17,9 @@ import com.yoho.search.consumer.service.logic.SpecialDealLogicService;
import com.yoho.search.consumer.service.logic.StorageSkuLogicService;
import com.yoho.search.core.es.utils.IgnoreSomeException;
import com.yoho.search.dal.model.Product;
import com.yoho.search.dal.model.ProductI;
import com.yoho.search.consumer.service.bo.ProductI;
import com.yoho.search.dal.model.ProductPrice;
import com.yoho.search.dal.model.StorageSku;
import com.yoho.search.consumer.service.bo.StorageSku;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... ...
... ... @@ -10,7 +10,7 @@ import com.yoho.search.consumer.service.logic.ProductPoolLogicService;
import com.yoho.search.consumer.service.logic.SpecialDealLogicService;
import com.yoho.search.core.es.model.ESBluk;
import com.yoho.search.core.es.utils.IgnoreSomeException;
import com.yoho.search.dal.model.ProductPool;
import com.yoho.search.consumer.service.bo.ProductPool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
... ...
... ... @@ -10,7 +10,7 @@ import com.yoho.search.consumer.service.logic.SpecialDealLogicService;
import com.yoho.search.consumer.service.logic.StorageSkuLogicService;
import com.yoho.search.core.es.model.ESBluk;
import com.yoho.search.core.es.utils.IgnoreSomeException;
import com.yoho.search.dal.model.StorageSku;
import com.yoho.search.consumer.service.bo.StorageSku;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
... ...
... ... @@ -26,7 +26,7 @@ import com.yoho.search.consumer.index.increment.YohoodProductMqListener;
import com.yoho.search.consumer.service.base.ProductIndexService;
import com.yoho.search.core.es.model.ESBluk;
import com.yoho.search.core.es.utils.IgnoreSomeException;
import com.yoho.search.dal.model.ProductIndex;
import com.yoho.search.consumer.service.bo.ProductIndex;
@Component
public class TplAdaptorJob extends YohoodProductMqListener implements ApplicationEventPublisherAware{
... ...
... ... @@ -11,7 +11,7 @@ import com.alibaba.fastjson.JSONObject;
import com.yoho.search.consumer.service.logic.ProductGoodsLogicService;
import com.yoho.search.dal.GoodsMapper;
import com.yoho.search.dal.model.Goods;
import com.yoho.search.dal.model.ProductGoods;
import com.yoho.search.consumer.service.bo.ProductGoods;
@Component
public class GoodsService {
... ...
... ... @@ -12,7 +12,7 @@ import org.springframework.stereotype.Component;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONException;
import com.yoho.search.consumer.service.logic.SpecialDealLogicService;
import com.yoho.search.dal.model.ProductIndex;
import com.yoho.search.consumer.service.bo.ProductIndex;
@Component
public class ProductIndexService {
... ...
package com.yoho.search.consumer.service.bo;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductActivities implements Serializable{
private Integer productSkn;
private String activities;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public String getActivities() {
return activities;
}
public void setActivities(String activities) {
this.activities = activities;
}
}
... ...
package com.yoho.search.consumer.service.bo;
import com.alibaba.fastjson.JSONObject;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductGood implements Serializable {
private Integer product_id;
private JSONObject goodList;
private String isDefault;
public Integer getProduct_id() {
return product_id;
}
public void setProduct_id(Integer product_id) {
this.product_id = product_id;
}
public JSONObject getGoodList() {
return goodList;
}
public void setGoodList(JSONObject goodList) {
this.goodList = goodList;
}
public String getIsDefault() {
return isDefault;
}
public void setIsDefault(String isDefault) {
this.isDefault = isDefault;
}
}
... ...
package com.yoho.search.consumer.service.bo;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductGoods implements Serializable {
private Integer productId;
private String goodsList;
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getGoodsList() {
return goodsList;
}
public void setGoodsList(String goodsList) {
this.goodsList = goodsList;
}
}
... ...
package com.yoho.search.consumer.service.bo;
import java.io.Serializable;
/**
* @author hugufei
* @product inner join brand inner join productsort
*/
public class ProductI implements Serializable {
private static final long serialVersionUID = 5550525695217052845L;
// from product
private Integer id;
private Integer productId;
private Integer productSkn;
private Integer shopId;
private String productName;
private String cnAlphabet;
private String salesPhrase;
private Short brandId;
private Short maxSortId;
private Short middleSortId;
private Short smallSortId;
private Integer seriesId;
private String gender;
private String genderS;
private String style;
private String isnew;
private String islimited;
private Integer ishot;
private String isHot;
private String isSpecial;
private Integer isspecial;
private String isSales;
private Integer issales;
private String isAdvance;
private Integer isadvance;
private String isAuditing;
private Integer isauditing;
private Integer isrecommend;
private Short ispromotion;
private Byte attribute;
private String seasons;
private Integer seasonsS;
private Integer firstShelveTime;
private Integer shelveTime;
private String shelveDay;
private Integer editTime;
private String isDown;
private Integer isdown;
private Byte status;
private Integer isOutlets;
private Integer folderId;
private String sellChannels;
private String ageLevel;
private Integer appType;
private String isInstalment;//是否支持分期
private String isSeckill;
// inner join brand
private String brandNameCn;
private String brandNameEn;
private String brandKeyword;
private String hotKeyword;
private String brandName;
private String brandDomain;
private String brandAlif;
private Integer countryId;
// inner join product_sort
private String maxSort;
private String maxSortName;
private String middleSort;
private String middleSortName;
private String smallSort;
private String smallSortName;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public Integer getShopId() {
return shopId;
}
public void setShopId(Integer shopId) {
this.shopId = shopId;
}
public Integer getShelveTime() {
return shelveTime;
}
public void setShelveTime(Integer shelveTime) {
this.shelveTime = shelveTime;
}
public String getShelveDay() {
return shelveDay;
}
public void setShelveDay(String shelveDay) {
this.shelveDay = shelveDay;
}
public String getCnAlphabet() {
return cnAlphabet;
}
public void setCnAlphabet(String cnAlphabet) {
this.cnAlphabet = cnAlphabet == null ? null : cnAlphabet.trim();
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName == null ? null : productName.trim();
}
public String getStyle() {
return style;
}
public void setStyle(String style) {
this.style = style == null ? null : style.trim();
}
public String getSalesPhrase() {
return salesPhrase;
}
public void setSalesPhrase(String salesPhrase) {
this.salesPhrase = salesPhrase == null ? null : salesPhrase.trim();
}
public Short getMaxSortId() {
return maxSortId;
}
public void setMaxSortId(Short maxSortId) {
this.maxSortId = maxSortId;
}
public String getMaxSortName() {
return maxSortName;
}
public void setMaxSortName(String maxSortName) {
this.maxSortName = maxSortName == null ? null : maxSortName.trim();
}
public Short getMiddleSortId() {
return middleSortId;
}
public void setMiddleSortId(Short middleSortId) {
this.middleSortId = middleSortId;
}
public String getMiddleSortName() {
return middleSortName;
}
public void setMiddleSortName(String middleSortName) {
this.middleSortName = middleSortName == null ? null : middleSortName.trim();
}
public Short getSmallSortId() {
return smallSortId;
}
public void setSmallSortId(Short smallSortId) {
this.smallSortId = smallSortId;
}
public String getSmallSortName() {
return smallSortName;
}
public void setSmallSortName(String smallSortName) {
this.smallSortName = smallSortName == null ? null : smallSortName.trim();
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender == null ? null : gender.trim();
}
public String getGenderS() {
return genderS;
}
public void setGenderS(String genderS) {
this.genderS = genderS == null ? null : genderS.trim();
}
public Short getBrandId() {
return brandId;
}
public void setBrandId(Short brandId) {
this.brandId = brandId;
}
public String getIsSpecial() {
return isSpecial;
}
public void setIsSpecial(String isSpecial) {
this.isSpecial = isSpecial == null ? null : isSpecial.trim();
}
public Byte getStatus() {
return status;
}
public void setStatus(Byte status) {
this.status = status;
}
public Integer getSeasonsS() {
return seasonsS;
}
public void setSeasonsS(Integer seasonsS) {
this.seasonsS = seasonsS;
}
public Integer getIsspecial() {
return isspecial;
}
public void setIsspecial(Integer isspecial) {
this.isspecial = isspecial;
}
public String getIsHot() {
return isHot;
}
public void setIsHot(String isHot) {
this.isHot = isHot == null ? null : isHot.trim();
}
public Integer getFolderId() {
return folderId;
}
public void setFolderId(Integer folderId) {
this.folderId = folderId;
}
public Integer getIshot() {
return ishot;
}
public void setIshot(Integer ishot) {
this.ishot = ishot;
}
public Short getIspromotion() {
return ispromotion;
}
public void setIspromotion(Short ispromotion) {
this.ispromotion = ispromotion;
}
public Integer getSeriesId() {
return seriesId;
}
public void setSeriesId(Integer seriesId) {
this.seriesId = seriesId;
}
public String getIsSales() {
return isSales;
}
public void setIsSales(String isSales) {
this.isSales = isSales == null ? null : isSales.trim();
}
public Integer getIssales() {
return issales;
}
public void setIssales(Integer issales) {
this.issales = issales;
}
public String getIsAdvance() {
return isAdvance;
}
public void setIsAdvance(String isAdvance) {
this.isAdvance = isAdvance == null ? null : isAdvance.trim();
}
public Integer getIsadvance() {
return isadvance;
}
public void setIsadvance(Integer isadvance) {
this.isadvance = isadvance;
}
public String getIsAuditing() {
return isAuditing;
}
public void setIsAuditing(String isAuditing) {
this.isAuditing = isAuditing == null ? null : isAuditing.trim();
}
public Integer getIsauditing() {
return isauditing;
}
public void setIsauditing(Integer isauditing) {
this.isauditing = isauditing;
}
public Byte getAttribute() {
return attribute;
}
public void setAttribute(Byte attribute) {
this.attribute = attribute;
}
public String getSeasons() {
return seasons;
}
public void setSeasons(String seasons) {
this.seasons = seasons == null ? null : seasons.trim();
}
public String getIsDown() {
return isDown;
}
public void setIsDown(String isDown) {
this.isDown = isDown == null ? null : isDown.trim();
}
public Integer getIsdown() {
return isdown;
}
public void setIsdown(Integer isdown) {
this.isdown = isdown;
}
public Integer getIsrecommend() {
return isrecommend;
}
public void setIsrecommend(Integer isrecommend) {
this.isrecommend = isrecommend;
}
public Integer getIsOutlets() {
return isOutlets;
}
public void setIsOutlets(Integer isOutlets) {
this.isOutlets = isOutlets;
}
public Integer getFirstShelveTime() {
return firstShelveTime;
}
public void setFirstShelveTime(Integer firstShelveTime) {
this.firstShelveTime = firstShelveTime;
}
public String getSellChannels() {
return sellChannels;
}
public void setSellChannels(String sellChannels) {
this.sellChannels = sellChannels == null ? null : sellChannels.trim();
}
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public String getIsnew() {
return isnew;
}
public void setIsnew(String isnew) {
this.isnew = isnew;
}
public String getBrandNameCn() {
return brandNameCn;
}
public void setBrandNameCn(String brandNameCn) {
this.brandNameCn = brandNameCn == null ? null : brandNameCn.trim();
}
public String getBrandNameEn() {
return brandNameEn;
}
public void setBrandNameEn(String brandNameEn) {
this.brandNameEn = brandNameEn == null ? null : brandNameEn.trim();
}
public String getBrandKeyword() {
return brandKeyword;
}
public void setBrandKeyword(String brandKeyword) {
this.brandKeyword = brandKeyword == null ? null : brandKeyword.trim();
}
public String getHotKeyword() {
return hotKeyword;
}
public void setHotKeyword(String hotKeyword) {
this.hotKeyword = hotKeyword == null ? null : hotKeyword.trim();
}
public String getBrandName() {
return brandName;
}
public void setBrandName(String brandName) {
this.brandName = brandName == null ? null : brandName.trim();
}
public String getBrandDomain() {
return brandDomain;
}
public void setBrandDomain(String brandDomain) {
this.brandDomain = brandDomain == null ? null : brandDomain.trim();
}
public String getBrandAlif() {
return brandAlif;
}
public void setBrandAlif(String brandAlif) {
this.brandAlif = brandAlif == null ? null : brandAlif.trim();
}
public Integer getEditTime() {
return editTime;
}
public void setEditTime(Integer editTime) {
this.editTime = editTime;
}
public String getIslimited() {
return islimited;
}
public void setIslimited(String islimited) {
this.islimited = islimited;
}
public String getMaxSort() {
return maxSort;
}
public void setMaxSort(String maxSort) {
this.maxSort = maxSort;
}
public String getMiddleSort() {
return middleSort;
}
public void setMiddleSort(String middleSort) {
this.middleSort = middleSort;
}
public String getSmallSort() {
return smallSort;
}
public void setSmallSort(String smallSort) {
this.smallSort = smallSort;
}
public String getAgeLevel() {
return ageLevel;
}
public void setAgeLevel(String ageLevel) {
this.ageLevel = ageLevel;
}
public Integer getAppType() {
return appType;
}
public void setAppType(Integer appType) {
this.appType = appType;
}
public String getIsInstalment() {
return isInstalment;
}
public void setIsInstalment(String isInstalment) {
this.isInstalment = isInstalment;
}
public Integer getCountryId() {
return countryId;
}
public void setCountryId(Integer countryId) {
this.countryId = countryId;
}
public String getIsSeckill() {
return isSeckill;
}
public void setIsSeckill(String isSeckill) {
this.isSeckill = isSeckill;
}
}
\ No newline at end of file
... ...
package com.yoho.search.consumer.service.bo;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 商品实体索引
*
* @author hugufei
*/
public class ProductIndex extends ProductI implements Serializable {
private static final long serialVersionUID = 1L;
// from product_price
private BigDecimal specialPrice;
private BigDecimal marketPrice;
private Byte vipDiscountType;
private BigDecimal vipPrice;
private BigDecimal vip1Price;
private BigDecimal vip2Price;
private BigDecimal vip3Price;
private BigDecimal salesPrice;
private BigDecimal studentPrice;
private String isStudentPrice;
private Long promotionDiscountInt;
private BigDecimal promotionDiscount;
private String specialoffer;
private String isDiscount;
// from product_keywords
private String productKeyword;
// from product_colors
private String colorIds;
private String colorNames;
// from product_standards
private String standardIds;
private String standardNames;
private String standardOnlyNames;
// from product_sizes
//private BigDecimal salesNum;
private BigDecimal storageNum;
private String isSoonSoldOut;
private String isSoldOut;
private Integer soldOut;
private String sizeIds;
private String sizeNames;
//from product_15day_salesnum
private Integer salesNum;
// from product_styles
private String styleIds;
// from product_goods
private String goodsList;
// from product_default_image
private String defaultImages;
// from product_activities
private String activities;
// from product_search
private Long sortWeight;
private Long brandWeight;
private Long shopWeight;
// from product_activities_link
private String yohoodId;
// from base_pin_ratio
private double basePinRatio;
// from broken_code
private double breakingRate;
// from discount_product_skn
private double discountScore;
private String poolId;
// from quanqiugou
private String isGlobal = "N";
// from big data
private double newPageProdBoost;
private double brandPageProdBoost;
private double sortPageProdBoost;
private double searchPageProdBoost;
private String isStudentRebate;
// get
public BigDecimal getSpecialPrice() {
return specialPrice;
}
public BigDecimal getMarketPrice() {
return marketPrice;
}
public Byte getVipDiscountType() {
return vipDiscountType;
}
public BigDecimal getVipPrice() {
return vipPrice;
}
public BigDecimal getVip1Price() {
return vip1Price;
}
public BigDecimal getVip2Price() {
return vip2Price;
}
public BigDecimal getVip3Price() {
return vip3Price;
}
public BigDecimal getSalesPrice() {
return salesPrice;
}
public Long getPromotionDiscountInt() {
return promotionDiscountInt;
}
public BigDecimal getPromotionDiscount() {
return promotionDiscount;
}
public String getSpecialoffer() {
return specialoffer;
}
public String getIsDiscount() {
return isDiscount;
}
public String getProductKeyword() {
return productKeyword;
}
public String getColorIds() {
return colorIds;
}
public String getColorNames() {
return colorNames;
}
public String getStandardIds() {
return standardIds;
}
public String getStandardNames() {
return standardNames;
}
public String getStandardOnlyNames() {
return standardOnlyNames;
}
public Integer getSalesNum() {
return salesNum;
}
public BigDecimal getStorageNum() {
return storageNum;
}
public String getIsSoonSoldOut() {
return isSoonSoldOut;
}
public String getIsSoldOut() {
return isSoldOut;
}
public Integer getSoldOut() {
return soldOut;
}
public String getSizeIds() {
return sizeIds;
}
public String getStyleIds() {
return styleIds;
}
public String getGoodsList() {
return goodsList;
}
public String getDefaultImages() {
return defaultImages;
}
public String getActivities() {
return activities;
}
public Long getSortWeight() {
return sortWeight;
}
public Long getBrandWeight() {
return brandWeight;
}
public String getYohoodId() {
return yohoodId;
}
public double getBasePinRatio() {
return basePinRatio;
}
public double getBreakingRate() {
return breakingRate;
}
public double getDiscountScore() {
return discountScore;
}
public String getPoolId() {
return poolId;
}
public double getNewPageProdBoost() {
return newPageProdBoost;
}
public double getBrandPageProdBoost() {
return brandPageProdBoost;
}
public double getSortPageProdBoost() {
return sortPageProdBoost;
}
public double getSearchPageProdBoost() {
return searchPageProdBoost;
}
// set
public void setSpecialPrice(BigDecimal specialPrice) {
this.specialPrice = specialPrice;
}
public void setMarketPrice(BigDecimal marketPrice) {
this.marketPrice = marketPrice;
}
public void setVipDiscountType(Byte vipDiscountType) {
this.vipDiscountType = vipDiscountType;
}
public void setVipPrice(BigDecimal vipPrice) {
this.vipPrice = vipPrice;
}
public void setVip1Price(BigDecimal vip1Price) {
this.vip1Price = vip1Price;
}
public void setVip2Price(BigDecimal vip2Price) {
this.vip2Price = vip2Price;
}
public void setVip3Price(BigDecimal vip3Price) {
this.vip3Price = vip3Price;
}
public void setSalesPrice(BigDecimal salesPrice) {
this.salesPrice = salesPrice;
}
public void setPromotionDiscountInt(Long promotionDiscountInt) {
this.promotionDiscountInt = promotionDiscountInt;
}
public void setPromotionDiscount(BigDecimal promotionDiscount) {
this.promotionDiscount = promotionDiscount;
}
public void setSpecialoffer(String specialoffer) {
this.specialoffer = specialoffer;
}
public void setIsDiscount(String isDiscount) {
this.isDiscount = isDiscount;
}
public void setProductKeyword(String productKeyword) {
this.productKeyword = productKeyword;
}
public void setColorIds(String colorIds) {
this.colorIds = colorIds == null ? null : colorIds.trim();
}
public void setColorNames(String colorNames) {
this.colorNames = colorNames == null ? null : colorNames.trim();
}
public void setStandardIds(String standardIds) {
this.standardIds = standardIds == null ? null : standardIds.trim();
}
public void setStandardNames(String standardNames) {
this.standardNames = standardNames == null ? null : standardNames.trim();
}
public void setStandardOnlyNames(String standardOnlyNames) {
this.standardOnlyNames = standardOnlyNames ==null ? null : standardOnlyNames.trim();
}
public void setSalesNum(Integer salesNum) {
this.salesNum = salesNum;
}
public void setStorageNum(BigDecimal storageNum) {
this.storageNum = storageNum;
}
public void setIsSoonSoldOut(String isSoonSoldOut) {
this.isSoonSoldOut = isSoonSoldOut;
}
public void setIsSoldOut(String isSoldOut) {
this.isSoldOut = isSoldOut;
}
public void setSoldOut(Integer soldOut) {
this.soldOut = soldOut;
}
public void setSizeIds(String sizeIds) {
this.sizeIds = sizeIds == null ? null : sizeIds.trim();
}
public void setStyleIds(String styleIds) {
this.styleIds = styleIds == null ? null : styleIds.trim();
}
public void setGoodsList(String goodsList) {
this.goodsList = goodsList == null ? null : goodsList.trim();
}
public void setDefaultImages(String defaultImages) {
this.defaultImages = defaultImages == null ? null : defaultImages.trim();
}
public void setActivities(String activities) {
this.activities = activities;
}
public void setSortWeight(Long sortWeight) {
this.sortWeight = sortWeight;
}
public void setBrandWeight(Long brandWeight) {
this.brandWeight = brandWeight;
}
public void setYohoodId(String yohoodId) {
this.yohoodId = yohoodId;
}
public void setBasePinRatio(double basePinRatio) {
this.basePinRatio = basePinRatio;
}
public void setBreakingRate(double breakingRate) {
this.breakingRate = breakingRate;
}
public void setDiscountScore(double discountScore) {
this.discountScore = discountScore;
}
public void setPoolId(String poolId) {
this.poolId = poolId;
}
public String getIsGlobal() {
return isGlobal;
}
public void setIsGlobal(String isGlobal) {
this.isGlobal = isGlobal;
}
public BigDecimal getStudentPrice() {
return studentPrice;
}
public void setStudentPrice(BigDecimal studentPrice) {
this.studentPrice = studentPrice;
}
public String getSizeNames() {
return sizeNames;
}
public String getIsStudentPrice() {
return isStudentPrice;
}
public void setSizeNames(String sizeNames) {
this.sizeNames = sizeNames;
}
public void setIsStudentPrice(String isStudentPrice) {
this.isStudentPrice = isStudentPrice;
}
public void setNewPageProdBoost(double newPageProdBoost) {
this.newPageProdBoost = newPageProdBoost;
}
public void setBrandPageProdBoost(double brandPageProdBoost) {
this.brandPageProdBoost = brandPageProdBoost;
}
public void setSortPageProdBoost(double sortPageProdBoost) {
this.sortPageProdBoost = sortPageProdBoost;
}
public void setSearchPageProdBoost(double searchPageProdBoost) {
this.searchPageProdBoost = searchPageProdBoost;
}
public Long getShopWeight() {
return shopWeight;
}
public void setShopWeight(Long shopWeight) {
this.shopWeight = shopWeight;
}
public String getIsStudentRebate() {
return isStudentRebate;
}
public void setIsStudentRebate(String isStudentRebate) {
this.isStudentRebate = isStudentRebate;
}
}
\ No newline at end of file
... ...
package com.yoho.search.consumer.service.bo;
import java.math.BigDecimal;
public class ProductPool {
private Integer id;
private Integer poolId;
private Integer productSkn;
private Integer productId;
private String sales;
private Short brandId;
private Byte status;
private Byte attribute;
private Short smallSortId;
private Short middleSortId;
private Short maxSortId;
private String gender;
private Integer storageNum;
private Integer salesNum;
private BigDecimal marketPrice;
private BigDecimal salesPrice;
private Byte vipDiscountType;
private String isDiscount;
private Integer isOutlets;
private String sizeIds;
//add by wn
private String ageLevel;
private String colorIds;
private Long promotionDiscountInt;
private BigDecimal promotionDiscount;
//add by wn
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getPoolId() {
return poolId;
}
public void setPoolId(Integer poolId) {
this.poolId = poolId;
}
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getSales() {
return sales;
}
public void setSales(String sales) {
this.sales = sales == null ? null : sales.trim();
}
public Short getBrandId() {
return brandId;
}
public void setBrandId(Short brandId) {
this.brandId = brandId;
}
public Byte getStatus() {
return status;
}
public void setStatus(Byte status) {
this.status = status;
}
public Byte getAttribute() {
return attribute;
}
public void setAttribute(Byte attribute) {
this.attribute = attribute;
}
public Short getSmallSortId() {
return smallSortId;
}
public void setSmallSortId(Short smallSortId) {
this.smallSortId = smallSortId;
}
public Short getMiddleSortId() {
return middleSortId;
}
public void setMiddleSortId(Short middleSortId) {
this.middleSortId = middleSortId;
}
public Short getMaxSortId() {
return maxSortId;
}
public void setMaxSortId(Short maxSortId) {
this.maxSortId = maxSortId;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender == null ? null : gender.trim();
}
public Integer getStorageNum() {
return storageNum;
}
public void setStorageNum(Integer storageNum) {
this.storageNum = storageNum;
}
public Integer getSalesNum() {
return salesNum;
}
public void setSalesNum(Integer salesNum) {
this.salesNum = salesNum;
}
public BigDecimal getMarketPrice() {
return marketPrice;
}
public void setMarketPrice(BigDecimal marketPrice) {
this.marketPrice = marketPrice;
}
public BigDecimal getSalesPrice() {
return salesPrice;
}
public void setSalesPrice(BigDecimal salesPrice) {
this.salesPrice = salesPrice;
}
public Byte getVipDiscountType() {
return vipDiscountType;
}
public void setVipDiscountType(Byte vipDiscountType) {
this.vipDiscountType = vipDiscountType;
}
public String getIsDiscount() {
return isDiscount;
}
public void setIsDiscount(String isDiscount) {
this.isDiscount = isDiscount == null ? null : isDiscount.trim();
}
public Integer getIsOutlets() {
return isOutlets;
}
public void setIsOutlets(Integer isOutlets) {
this.isOutlets = isOutlets;
}
public String getSizeIds() {
return sizeIds;
}
public void setSizeIds(String sizeIds) {
this.sizeIds = sizeIds == null ? null : sizeIds.trim();
}
public String getAgeLevel() {
return ageLevel;
}
public void setAgeLevel(String ageLevel) {
this.ageLevel = ageLevel;
}
public String getColorIds() {
return colorIds;
}
public void setColorIds(String colorIds) {
this.colorIds = colorIds;
}
public Long getPromotionDiscountInt() {
return promotionDiscountInt;
}
public void setPromotionDiscountInt(Long promotionDiscountInt) {
this.promotionDiscountInt = promotionDiscountInt;
}
public BigDecimal getPromotionDiscount() {
return promotionDiscount;
}
public void setPromotionDiscount(BigDecimal promotionDiscount) {
this.promotionDiscount = promotionDiscount;
}
}
\ No newline at end of file
... ...
package com.yoho.search.consumer.service.bo;
/**
* Created by wangnan on 2016/8/18.
*/
public class ProductPoolDetailSkn {
private Integer productSkn;
private String poolId;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public String getPoolId() {
return poolId;
}
public void setPoolId(String poolId) {
this.poolId = poolId;
}
}
... ...
package com.yoho.search.consumer.service.bo;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductSearchBrandWeight implements Serializable {
private Integer productSkn;
private Integer brandWeightId;
private Long brandWeight;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Integer getBrandWeightId() {
return brandWeightId;
}
public void setBrandWeightId(Integer brandWeightId) {
this.brandWeightId = brandWeightId;
}
public Long getBrandWeight() {
return brandWeight;
}
public void setBrandWeight(Long brandWeight) {
this.brandWeight = brandWeight;
}
}
... ...
package com.yoho.search.consumer.service.bo;
import java.io.Serializable;
public class ProductSearchShopWeight implements Serializable {
private Integer productSkn;
private Integer shopWeightId;
private Long shopWeight;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Integer getShopWeightId() {
return shopWeightId;
}
public void setShopWeightId(Integer shopWeightId) {
this.shopWeightId = shopWeightId;
}
public Long getShopWeight() {
return shopWeight;
}
public void setShopWeight(Long shopWeight) {
this.shopWeight = shopWeight;
}
}
... ...
package com.yoho.search.consumer.service.bo;
import java.io.Serializable;
/**
* Created by wangnan on 2016/6/30.
*/
public class ProductSearchSortWeight implements Serializable {
private Integer productSkn;
private Integer sortWeightId;
private Long sortWeight;
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public Integer getSortWeightId() {
return sortWeightId;
}
public void setSortWeightId(Integer sortWeightId) {
this.sortWeightId = sortWeightId;
}
public Long getSortWeight() {
return sortWeight;
}
public void setSortWeight(Long sortWeight) {
this.sortWeight = sortWeight;
}
}
... ...
package com.yoho.search.consumer.service.bo;
import java.io.Serializable;
public class ProductStandards implements Serializable {
private static final long serialVersionUID = 1L;
private Integer productId;
private String standardIds;
private String standardNames;
private String standardOnlyNames;
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public String getStandardIds() {
return standardIds;
}
public void setStandardIds(String standardIds) {
this.standardIds = standardIds == null ? null : standardIds.trim();
}
public String getStandardNames() {
return standardNames;
}
public void setStandardNames(String standardNames) {
this.standardNames = standardNames == null ? null : standardNames.trim();
}
public String getStandardOnlyNames() {
return standardOnlyNames;
}
public void setStandardOnlyNames(String standardOnlyNames) {
this.standardOnlyNames = standardOnlyNames;
}
}
\ No newline at end of file
... ...
package com.yoho.search.consumer.service.bo;
import java.math.BigDecimal;
public class StorageSku {
// storage表 erp_sku_id
private Integer productSku;
// storage表 product_id
private Integer productId;
// product表 erp_product_id
private Integer productSkn;
// storage表 goods_dimension_id
private Integer sizeIds;
// storage表 storage_num
private Integer storageNum;
// product_15day_salesnum_skn表 sales_num
private Integer salesNum;
// storage表 status
private Integer status;
// product_price表 market_price
private BigDecimal marketPrice;
// product_price表 sales_price
private BigDecimal salesPrice;
// product_price表 `pp`.`sales_price` < `pp`.`market_price`) ? 'Y':'N')
private String isDiscount;
// product表 small_sort_id
private Integer smallSortId;
// product表 middle_sort_id
private Integer middleSortId;
// product表 max_sort_id
private Integer maxSortId;
// product表 gender
private String gender;
// product表 brand_id
private Integer brandId;
// product表 status
private Integer productStatus;
// product表 attribute
private Integer attribute;
// base_pin_ratio视图 base_pin_ratio >= 3.5 or broken_code视图breaking_rate>=50
// ?1:0
private Integer breaking;
// goods表 id
private Integer goodsId;
// goods表 status
private Integer goodsStatus;
// product表 is_outlets = Y ? 1:2
private Integer isOutlets;
//add by wn
// product表 age_level
private String ageLevel;
// product_colors视图 color_ids
private String colorIds;
public Integer getProductSku() {
return productSku;
}
public void setProductSku(Integer productSku) {
this.productSku = productSku;
}
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public Integer getProductSkn() {
return productSkn;
}
public void setProductSkn(Integer productSkn) {
this.productSkn = productSkn;
}
public String getIsDiscount() {
return isDiscount;
}
public void setIsDiscount(String isDiscount) {
this.isDiscount = isDiscount;
}
public Integer getSizeIds() {
return sizeIds;
}
public void setSizeIds(Integer sizeIds) {
this.sizeIds = sizeIds;
}
public Integer getStorageNum() {
return storageNum;
}
public void setStorageNum(Integer storageNum) {
this.storageNum = storageNum;
}
public Integer getSalesNum() {
return salesNum;
}
public void setSalesNum(Integer salesNum) {
this.salesNum = salesNum;
}
public BigDecimal getMarketPrice() {
return marketPrice;
}
public void setMarketPrice(BigDecimal marketPrice) {
this.marketPrice = marketPrice;
}
public BigDecimal getSalesPrice() {
return salesPrice;
}
public void setSalesPrice(BigDecimal salesPrice) {
this.salesPrice = salesPrice;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getSmallSortId() {
return smallSortId;
}
public void setSmallSortId(Integer smallSortId) {
this.smallSortId = smallSortId;
}
public Integer getMiddleSortId() {
return middleSortId;
}
public void setMiddleSortId(Integer middleSortId) {
this.middleSortId = middleSortId;
}
public Integer getMaxSortId() {
return maxSortId;
}
public void setMaxSortId(Integer maxSortId) {
this.maxSortId = maxSortId;
}
public Integer getBrandId() {
return brandId;
}
public void setBrandId(Integer brandId) {
this.brandId = brandId;
}
public Integer getBreaking() {
return breaking;
}
public void setBreaking(Integer breaking) {
this.breaking = breaking;
}
public Integer getProductStatus() {
return productStatus;
}
public void setProductStatus(Integer productStatus) {
this.productStatus = productStatus;
}
public Integer getAttribute() {
return attribute;
}
public void setAttribute(Integer attribute) {
this.attribute = attribute;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public Integer getGoodsId() {
return goodsId;
}
public void setGoodsId(Integer goodsId) {
this.goodsId = goodsId;
}
public Integer getGoodsStatus() {
return goodsStatus;
}
public void setGoodsStatus(Integer goodsStatus) {
this.goodsStatus = goodsStatus;
}
public Integer getIsOutlets() {
return isOutlets;
}
public void setIsOutlets(Integer isOutlets) {
this.isOutlets = isOutlets;
}
public String getAgeLevel() {
return ageLevel;
}
public void setAgeLevel(String ageLevel) {
this.ageLevel = ageLevel;
}
public String getColorIds() {
return colorIds;
}
public void setColorIds(String colorIds) {
this.colorIds = colorIds;
}
}
\ No newline at end of file
... ...
package com.yoho.search.consumer.service.logic;
import com.yoho.search.dal.ActivityProductMapper;
import com.yoho.search.dal.model.ProductActivities;
import com.yoho.search.consumer.service.bo.ProductActivities;
import com.yoho.search.dal.model.ProductActivity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
... ...
... ... @@ -10,14 +10,14 @@ import javax.annotation.Resource;
import com.yoho.search.dal.ProductFeatureMapper;
import com.yoho.search.dal.model.ProductFeature;
import com.yoho.search.dal.model.ProductIndex;
import com.yoho.search.consumer.service.bo.ProductIndex;
import com.yoho.search.core.personalized.calculate.BoostCalculate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.yoho.search.dal.model.ProductI;
import com.yoho.search.consumer.service.bo.ProductI;
import com.yoho.search.core.personalized.BigDataRedisOper;
import com.yoho.search.core.personalized.PConsts;
import com.yoho.search.core.personalized.PersonalizedHelper;
... ...
... ... @@ -2,6 +2,8 @@ package com.yoho.search.consumer.service.logic;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.yoho.search.consumer.service.bo.ProductGood;
import com.yoho.search.consumer.service.bo.ProductGoods;
import com.yoho.search.dal.GoodsImagesMapper;
import com.yoho.search.dal.GoodsMapper;
import com.yoho.search.dal.ProductColorMapper;
... ...
... ... @@ -4,7 +4,7 @@ import com.yoho.search.base.utils.DateUtil;
import com.yoho.search.dal.model.Brand;
import com.yoho.search.dal.model.ProductSort;
import com.yoho.search.dal.model.Product;
import com.yoho.search.dal.model.ProductI;
import com.yoho.search.consumer.service.bo.ProductI;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
... ...
... ... @@ -4,6 +4,7 @@ import com.yoho.search.base.utils.DateUtil;
import com.yoho.search.base.utils.MathUtils;
import com.yoho.search.consumer.service.base.Product15DaySalesNumService;
import com.yoho.search.consumer.service.base.ProductActivitiesLinkService;
import com.yoho.search.consumer.service.bo.*;
import com.yoho.search.dal.*;
import com.yoho.search.dal.model.*;
... ...
... ... @@ -2,6 +2,8 @@ package com.yoho.search.consumer.service.logic;
import com.yoho.search.consumer.service.base.Product15DaySalesNumService;
import com.yoho.search.consumer.service.base.ProductPoolDetailService;
import com.yoho.search.consumer.service.bo.ProductPool;
import com.yoho.search.consumer.service.bo.ProductPoolDetailSkn;
import com.yoho.search.dal.ProductMapper;
import com.yoho.search.dal.ProductPoolDetailMapper;
import com.yoho.search.dal.model.*;
... ...
... ... @@ -11,7 +11,7 @@ import org.springframework.stereotype.Component;
import com.yoho.search.dal.ProductSearchMapper;
import com.yoho.search.dal.model.ProductSearch;
import com.yoho.search.dal.model.ProductSearchBrandWeight;
import com.yoho.search.consumer.service.bo.ProductSearchBrandWeight;
/**
* Created by wangnan on 2016/6/30.
... ...
... ... @@ -11,7 +11,7 @@ import org.springframework.stereotype.Component;
import com.yoho.search.dal.ProductSearchMapper;
import com.yoho.search.dal.model.ProductSearch;
import com.yoho.search.dal.model.ProductSearchShopWeight;
import com.yoho.search.consumer.service.bo.ProductSearchShopWeight;
@Component
public class ProductSearchShopWeightLogicService {
... ...
... ... @@ -8,7 +8,7 @@ import java.util.stream.Collectors;
import com.yoho.search.dal.ProductSearchMapper;
import com.yoho.search.dal.model.ProductSearch;
import com.yoho.search.dal.model.ProductSearchSort;
import com.yoho.search.dal.model.ProductSearchSortWeight;
import com.yoho.search.consumer.service.bo.ProductSearchSortWeight;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
... ...
... ... @@ -5,7 +5,7 @@ import com.yoho.search.dal.ParameterMakeMapper;
import com.yoho.search.dal.ProductStandardRelationMapper;
import com.yoho.search.dal.StandardMapper;
import com.yoho.search.dal.model.ParameterMake;
import com.yoho.search.dal.model.ProductStandards;
import com.yoho.search.consumer.service.bo.ProductStandards;
import com.yoho.search.dal.model.Standard;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
... ...
package com.yoho.search.consumer.service.logic;
import com.yoho.search.dal.model.ProductI;
import com.yoho.search.dal.model.ProductIndex;
import com.yoho.search.dal.model.ProductPool;
import com.yoho.search.dal.model.StorageSku;
import com.yoho.search.consumer.service.bo.ProductI;
import com.yoho.search.consumer.service.bo.ProductIndex;
import com.yoho.search.consumer.service.bo.ProductPool;
import com.yoho.search.consumer.service.bo.StorageSku;
import org.apache.commons.lang3.StringUtils;
public class SpecialDealLogicService {
... ...
... ... @@ -26,7 +26,7 @@ import com.yoho.search.dal.model.Product15DaySalesNum;
import com.yoho.search.dal.model.ProductColors;
import com.yoho.search.dal.model.ProductPrice;
import com.yoho.search.dal.model.Storage;
import com.yoho.search.dal.model.StorageSku;
import com.yoho.search.consumer.service.bo.StorageSku;
/**
*
... ...