admin
2020-03-05 36ba03c443aa7927e64a88408b2240cf3b56d16d
fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java
@@ -6,13 +6,14 @@
import org.springframework.web.multipart.MultipartHttpServletRequest;
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.exception.dynamic.GoodsEvaluateException;
public interface GoodsEvaluateService {
   public void saveHead(MultipartFile file, GoodsEvaluate record) throws GoodsEvaluateException;
   public String saveHead(MultipartFile file, GoodsEvaluate record) throws GoodsEvaluateException;
   
   
   public GoodsEvaluate getById(String id);
@@ -84,7 +85,7 @@
    * @throws GoodsEvaluateException
    * @throws Exception
    */
   public void saveSingleGoodsCoupon(String pid, CommentInfo commentInfo) throws GoodsEvaluateException, Exception;
   public void saveCurrencyCoupon(String pid, int kind, CommentInfo commentInfo) throws GoodsEvaluateException, Exception;
   public void saveActivityPic(String pid, ImgInfo imgInfo, MultipartHttpServletRequest fileRequest)
@@ -123,15 +124,21 @@
    * @param count
    * @return
    */
   public List<GoodsEvaluate> queryMaterialsCache(int start, int count,int type);
   public List<GoodsEvaluate> queryMaterialsCache(int start, int count,int type) throws Exception;
   public long countValidMaterials(int type);
   public void saveGoodsCoupon(String pid, String tags, String content) throws GoodsEvaluateException, Exception;
   public void saveGoodsCoupon(String pid, String content) throws GoodsEvaluateException, Exception;
   public void release(String id) throws GoodsEvaluateException;
   public void addGoodsEvaluateByDynamicInfo(DynamicInfo info);
   public void saveGoodsComment(String id, int kind, List<CommentInfo> comments) throws GoodsEvaluateException, Exception;
}