| | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import com.yeshi.fanli.util.goods.douyin.vo.DYGoodsDetail; |
| | | import com.yeshi.goods.facade.dto.taobao.dataoke.DaTaoKeListTopOffDTO; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import org.springframework.web.multipart.MultipartHttpServletRequest; |
| | | |
| | |
| | | import com.yeshi.fanli.entity.dynamic.ImgInfo; |
| | | import com.yeshi.fanli.entity.dynamic.GoodsEvaluate.EvaluateEnum; |
| | | import com.yeshi.fanli.entity.jd.JDGoods; |
| | | import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief; |
| | | import com.yeshi.fanli.entity.taobao.dataoke.DaTaoKeDetailV2; |
| | | import com.yeshi.goods.facade.entity.taobao.TaoBaoGoodsBrief; |
| | | import com.yeshi.goods.facade.entity.taobao.dataoke.DaTaoKeDetailV2; |
| | | import com.yeshi.fanli.exception.dynamic.GoodsEvaluateException; |
| | | |
| | | public interface GoodsEvaluateService { |
| | |
| | | * @param count |
| | | * @return |
| | | */ |
| | | public List<GoodsEvaluate> queryValidEvaluateCache(int start, int count); |
| | | public List<GoodsEvaluate> queryValidEvaluateCache(int start, int count,SystemEnum system); |
| | | |
| | | public long countValid(); |
| | | public long countValid(SystemEnum system); |
| | | |
| | | /** |
| | | * 查询 |
| | |
| | | * @param state |
| | | * @return |
| | | */ |
| | | public List<GoodsEvaluate> query(int start, int count, String key, Integer state, int dynamicType, String typeEnum); |
| | | public List<GoodsEvaluate> query(int start, int count, String key, Integer state, int dynamicType, String typeEnum,SystemEnum system); |
| | | |
| | | public long count(String key, Integer state,int dynamicType, String typeEnum); |
| | | public long count(String key, Integer state,int dynamicType, String typeEnum,SystemEnum system); |
| | | |
| | | |
| | | /** |
| | |
| | | * @throws GoodsEvaluateException |
| | | * @throws Exception |
| | | */ |
| | | public void saveCurrencyCoupon(String pid, int kind, CommentInfo commentInfo) throws GoodsEvaluateException, Exception; |
| | | public void saveCurrencyCoupon(SystemEnum system,String pid, int kind, CommentInfo commentInfo) throws GoodsEvaluateException, Exception; |
| | | |
| | | |
| | | public void saveActivityPic(String pid, ImgInfo imgInfo, String picUrls, MultipartHttpServletRequest fileRequest) |
| | |
| | | * @param count |
| | | * @return |
| | | */ |
| | | public List<GoodsEvaluate> queryMaterialsCache(int start, int count,int type) throws Exception; |
| | | public List<GoodsEvaluate> queryMaterialsCache(int start, int count,int type,SystemEnum system) throws Exception; |
| | | |
| | | public long countValidMaterials(int type); |
| | | public long countValidMaterials(int type,SystemEnum system); |
| | | |
| | | |
| | | |
| | |
| | | |
| | | |
| | | public void updateVIPGoods(VIPGoodsInfo goods); |
| | | |
| | | public void updateDYGoods(DYGoodsDetail goods); |
| | | |
| | | public void updateSuningGoods(SuningGoodsInfo goods); |
| | | |
| | | |
| | | public void addRanDomShareCount(); |
| | | public void addRanDomShareCount(SystemEnum system); |
| | | |
| | | /** |
| | | * 添加发圈内容 |
| | |
| | | * @param goodsType |
| | | * @return |
| | | */ |
| | | public GoodsEvaluate queryExistSingle(String goodsId, int goodsType); |
| | | public GoodsEvaluate queryExistSingle(String goodsId, int goodsType,SystemEnum system); |
| | | |
| | | /** |
| | | * 查询倒序 |
| | |
| | | public int addGoodsEvaluate(TaoBaoGoodsBrief goodsBrief, List<String> imgs, ActivityUser user, String title,SystemEnum system) |
| | | throws GoodsEvaluateException; |
| | | |
| | | /** |
| | | * 添加大淘客的线报 |
| | | * @param dto |
| | | * @param user |
| | | * @param system |
| | | * @return |
| | | * @throws GoodsEvaluateException |
| | | */ |
| | | public int addGoodsEvaluate(DaTaoKeListTopOffDTO dto, ActivityUser user, SystemEnum system) |
| | | throws GoodsEvaluateException; |
| | | |
| | | public List<GoodsEvaluate> queryValidZeroPoint(int start, int count); |
| | | |
| | | } |