From aa774af6df16ef11e1e34ac5aeed9aae0cb3e8e2 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 09 四月 2020 16:25:03 +0800 Subject: [PATCH] 团队分红完善 --- fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java | 35 ++++++++++++++++++++++++++++++++--- 1 files changed, 32 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java index 214420d..a8d0c7d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java @@ -1,14 +1,18 @@ 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; +import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief; import com.yeshi.fanli.exception.dynamic.GoodsEvaluateException; public interface GoodsEvaluateService { @@ -135,10 +139,35 @@ 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; + /** + * 鑷姩鐢熸垚鏁版嵁 + */ + public void addGoodsEvaluateByDaTaoKe(); + + + public void updateTaoBaoGoods(TaoBaoGoodsBrief goods); + + + public void updateJDGoods(JDGoods jdGoods); + + + public void updatePDDGoods(PDDGoodsDetail pddGoods); + + + public void addRanDomShareCount(); + + /** + * 娣诲姞鍙戝湀鍐呭 + * @param goodsId 鍟嗗搧id 蹇呬紶 + * @param cid 澶ф窐瀹㈠垎绫籭d 蹇呬紶 + * @param title 鏍囬 蹇呬紶 + * @param comment + */ + public void addGoodsEvaluate(Long goodsId,List<ImgInfo> imgList, ActivityUser user, String title,String comment,Date startTime) throws GoodsEvaluateException; + + } -- Gitblit v1.8.0