Commit cc8e1ffd by songyinghui

feature: 销售线索佣金

parent 34ff30d3
......@@ -26,6 +26,7 @@ import com.gic.haoban.manage.web.qo.content.*;
import com.gic.haoban.manage.web.qo.content.like.ContentMaterialLikeQO;
import com.gic.haoban.manage.web.vo.content.*;
import com.gic.haoban.manage.web.vo.content.statistics.ContentMaterialKnowVO;
import com.gic.store.goods.enums.ThirdTypeEnum;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
......@@ -155,6 +156,7 @@ public class ContentMaterialController {
List<String> goodsIds = responseResult.getResult()
.stream()
.filter(item -> CollectionUtils.isNotEmpty(item.getContentGoodsList()))
.filter(item -> ThirdTypeEnum.GIC.getCode().equals(item.getContentGoodsList().get(0).getThirdType()))
.map(item -> item.getContentGoodsList().get(0).getGoodsId())
.distinct()
.collect(Collectors.toList());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment