| | |
| | | import com.yeshi.fanli.entity.dynamic.CommentInfo; |
| | | import com.yeshi.fanli.entity.dynamic.GoodsEvaluate; |
| | | 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.fanli.exception.dynamic.GoodsEvaluateException; |
| | | |
| | | public interface GoodsEvaluateService { |
| | |
| | | */ |
| | | public void switchState(String id) throws GoodsEvaluateException; |
| | | |
| | | /** |
| | | * 查询 |
| | | * @param date |
| | | * @return |
| | | */ |
| | | public List<GoodsEvaluate> listByStartTime(Date date); |
| | | |
| | | |
| | | /** |
| | | * 根据商品id、类型查询 |
| | | * @param goodsId |
| | | * @param goodsType |
| | | * @return |
| | | */ |
| | | public GoodsEvaluate queryExistSingle(String goodsId, int goodsType); |
| | | |
| | | /** |
| | | * 查询倒序 |
| | | * @param start |
| | | * @param count |
| | | * @param dynamicType |
| | | * @return |
| | | */ |
| | | public List<GoodsEvaluate> queryValidSortASC(int start, int count, EvaluateEnum tyepEnum, boolean sortDesc); |
| | | |
| | | |
| | | /** |
| | | * 添加大淘客商品 |
| | | * @param daTaoKe |
| | | * @return |
| | | */ |
| | | public boolean addByDaTaoKeGoods(DaTaoKeDetailV2 daTaoKe); |
| | | |
| | | |
| | | public int addGoodsEvaluate(TaoBaoGoodsBrief goodsBrief, List<String> imgs, ActivityUser user, String title) |
| | | throws GoodsEvaluateException; |
| | | |
| | | public List<GoodsEvaluate> queryValidZeroPoint(int start, int count); |
| | | |
| | | } |