| | |
| | | package com.yeshi.fanli.service.inter.user;
|
| | |
|
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | | import org.yeshi.utils.entity.FileUploadResult;
|
| | | import net.sf.json.JSONObject;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.share.UserShareGoodsRecord;
|
| | | import com.yeshi.fanli.entity.bus.share.UserShareGoodsRecord.ShareSourceTypeEnum;
|
| | |
| | |
|
| | | public int updateByPrimaryKeySelective(UserShareGoodsRecord record);
|
| | |
|
| | | public int updateByPrimaryKey(UserShareGoodsRecord record);
|
| | | |
| | | public UserShareGoodsRecord selectByPrimaryKey(Long id);
|
| | |
|
| | | /**
|
| | |
| | | * 多个商品分享
|
| | | * @param uid 用户id
|
| | | * @param source 来源
|
| | | * @param title 标题内容
|
| | | * @param listGoods 商品集合
|
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public FileUploadResult save(Long uid, ShareSourceTypeEnum source, List<TaoBaoGoodsBrief> listGoods)
|
| | | public Map<String,Object> save(Long uid, ShareSourceTypeEnum source, String title, List<TaoBaoGoodsBrief> listGoods)
|
| | | throws UserShareGoodsRecordException;
|
| | |
|
| | | /**
|
| | |
| | | * @param taoBaoGoodsBrief 商品
|
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public void save(Long uid, ShareSourceTypeEnum source, TaoBaoGoodsBrief taoBaoGoodsBrief)
|
| | | public void save(Long uid, ShareSourceTypeEnum source, String title, TaoBaoGoodsBrief taoBaoGoodsBrief)
|
| | | throws UserShareGoodsRecordException;
|
| | | |
| | | |
| | | /**
|
| | | * 查询已分享商品
|
| | | * @param recordId
|
| | | * @return
|
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public JSONObject getGoodsGroup(Long recordId) throws UserShareGoodsRecordException;
|
| | |
|
| | | /**
|
| | | * h5分享商品列表
|
| | | * @param recordId
|
| | | * @return
|
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public JSONObject getGoodsGroupDetail(Long recordId) throws UserShareGoodsRecordException;
|
| | |
|
| | | /**
|
| | | * 更新分享记录
|
| | | * @param shareId
|
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public void updateShareRecord(Long shareId) throws UserShareGoodsRecordException;
|
| | |
|
| | | /**
|
| | | * |
| | | * @param uid
|
| | | * @param auctionId
|
| | | * @param type
|
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public void saveDetail(Long uid, Long auctionId, String type) throws UserShareGoodsRecordException;
|
| | |
|
| | | }
|