| | |
| | | package com.yeshi.fanli.service.inter.dynamic; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import org.springframework.web.multipart.MultipartHttpServletRequest; |
| | | |
| | | import com.yeshi.fanli.dto.pdd.PDDGoodsDetail; |
| | | import com.yeshi.fanli.entity.bus.activity.ActivityUser; |
| | | import com.yeshi.fanli.entity.dynamic.CommentInfo; |
| | | import com.yeshi.fanli.entity.dynamic.DynamicInfo; |
| | | import com.yeshi.fanli.entity.dynamic.GoodsEvaluate; |
| | | import com.yeshi.fanli.entity.dynamic.ImgInfo; |
| | | import com.yeshi.fanli.entity.jd.JDGoods; |
| | |
| | | * @param state |
| | | * @return |
| | | */ |
| | | public List<GoodsEvaluate> query(int start, int count, String key, Integer state, int dynamicType); |
| | | public List<GoodsEvaluate> query(int start, int count, String key, Integer state, int dynamicType, String typeEnum); |
| | | |
| | | public long count(String key, Integer state,int dynamicType); |
| | | public long count(String key, Integer state,int dynamicType, String typeEnum); |
| | | |
| | | |
| | | /** |
| | |
| | | public void saveCurrencyCoupon(String pid, int kind, CommentInfo commentInfo) throws GoodsEvaluateException, Exception; |
| | | |
| | | |
| | | public void saveActivityPic(String pid, ImgInfo imgInfo, MultipartHttpServletRequest fileRequest) |
| | | public void saveActivityPic(String pid, ImgInfo imgInfo, String picUrls, MultipartHttpServletRequest fileRequest) |
| | | throws GoodsEvaluateException, Exception; |
| | | |
| | | |
| | |
| | | public long countValidMaterials(int type); |
| | | |
| | | |
| | | public void saveGoodsCoupon(String pid, String content) throws GoodsEvaluateException, Exception; |
| | | |
| | | |
| | | public void release(String id) throws GoodsEvaluateException; |
| | | |
| | | |
| | | |
| | | public void saveGoodsComment(String id, int kind, List<CommentInfo> comments) throws GoodsEvaluateException, Exception; |
| | |
| | | * @param title 标题 必传 |
| | | * @param comment |
| | | */ |
| | | public void addGoodsEvaluate(Long goodsId, Integer cid, String title, String comment) throws GoodsEvaluateException; |
| | | public void addGoodsEvaluate(Long goodsId,List<ImgInfo> imgList, ActivityUser user, String title,String comment,Date startTime) throws GoodsEvaluateException; |
| | | |
| | | |
| | | /** |
| | | * 下架商品 |
| | | * @param goodsId |
| | | */ |
| | | public void offlineTaoBaoGoods(Long goodsId); |
| | | |
| | | /** |
| | | * 状态切换 |
| | | * @param id |
| | | * @throws GoodsEvaluateException |
| | | */ |
| | | public void switchState(String id) throws GoodsEvaluateException; |
| | | |
| | | } |