From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/CollectionGoodsV2Mapper.java | 178 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 89 insertions(+), 89 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/CollectionGoodsV2Mapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/CollectionGoodsV2Mapper.java index 56bc1a7..adea77c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/CollectionGoodsV2Mapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/CollectionGoodsV2Mapper.java @@ -1,90 +1,90 @@ -package com.yeshi.fanli.dao.mybatis.goods; - -import java.util.List; - -import org.apache.ibatis.annotations.Param; - -import com.yeshi.fanli.entity.goods.CollectionGoodsV2; - -public interface CollectionGoodsV2Mapper { - - int deleteByPrimaryKey(Long id); - - int insert(CollectionGoodsV2 record); - - int insertSelective(CollectionGoodsV2 record); - - CollectionGoodsV2 selectByPrimaryKey(Long id); - - int updateByPrimaryKeySelective(CollectionGoodsV2 record); - - int updateByPrimaryKey(CollectionGoodsV2 record); - - /** - * 鏍规嵁鐢ㄦ埛ID鍜屽晢鍝両D鑾峰彇鏀惰棌璁板綍 - * - * @param uid - * @param commonGoodsId - * @return - */ - CollectionGoodsV2 selectByUidAndCommonGoodsId(@Param("uid") Long uid, @Param("commonGoodsId") Long commonGoodsId); - - /** - * 鏍规嵁鐢ㄦ埛ID鑾峰彇鏀惰棌璁板綍锛屾寜鐓ф敹钘忔椂闂村�掑彊 - * - * @param uid - * @param start - * @param count - * @return - */ - List<CollectionGoodsV2> selectByUidOrderByCreateTimeDesc(@Param("uid") Long uid, @Param("start") long start, - @Param("count") int count, @Param("source")Integer source, @Param("notBackSuVip") boolean notBackSuVip); - - /** - * 鑾峰彇鏀惰棌鐨勬暟閲� - * - * @param uid - * @return - */ - long selectCountByUid(@Param("uid") Long uid, @Param("source")Integer source, @Param("notBackSuVip") boolean notBackSuVip); - - - /** - * 鏍规嵁鐢ㄦ埛ID,鍟嗗搧ID锛屽晢鍝佺被鍨嬫煡璇㈠晢鍝� - * - * @param id - * @param goodsType - * @param goodsId - * @return - */ - CollectionGoodsV2 selectByUidAndGoodsId(@Param("uid") Long uid, @Param("goodsId") Long goodsId); - - - /** - * 鏍规嵁鐢ㄦ埛ID,鍟嗗搧ID锛屽晢鍝佺被鍨嬫煡璇㈠晢鍝� - * - * @param id - * @param goodsType - * @param goodsId - * @return - */ - CollectionGoodsV2 selectByUidAndGoodsType(@Param("uid") Long uid, @Param("goodsId") Long goodsId, - @Param("goodsType") Integer goodsType); - - /** - * 鏍规嵁UID鍒犻櫎鏀惰棌 - * - * @param uid - * @return - */ - int deleteByUid(@Param("uid") Long uid); - - /** - * 鐢ㄦ埛id/鏀惰棌绠�鐗堝晢鍝乮d - * @param uid - * @param commonId - * @return - */ - List<CollectionGoodsV2> getByUidAndCommonId(@Param("uid") Long uid, @Param("commonId") Long commonId); - +package com.yeshi.fanli.dao.mybatis.goods; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +import com.yeshi.fanli.entity.goods.CollectionGoodsV2; + +public interface CollectionGoodsV2Mapper { + + int deleteByPrimaryKey(Long id); + + int insert(CollectionGoodsV2 record); + + int insertSelective(CollectionGoodsV2 record); + + CollectionGoodsV2 selectByPrimaryKey(Long id); + + int updateByPrimaryKeySelective(CollectionGoodsV2 record); + + int updateByPrimaryKey(CollectionGoodsV2 record); + + /** + * 鏍规嵁鐢ㄦ埛ID鍜屽晢鍝両D鑾峰彇鏀惰棌璁板綍 + * + * @param uid + * @param commonGoodsId + * @return + */ + CollectionGoodsV2 selectByUidAndCommonGoodsId(@Param("uid") Long uid, @Param("commonGoodsId") Long commonGoodsId); + + /** + * 鏍规嵁鐢ㄦ埛ID鑾峰彇鏀惰棌璁板綍锛屾寜鐓ф敹钘忔椂闂村�掑彊 + * + * @param uid + * @param start + * @param count + * @return + */ + List<CollectionGoodsV2> selectByUidOrderByCreateTimeDesc(@Param("uid") Long uid, @Param("start") long start, + @Param("count") int count, @Param("source")Integer source, @Param("notBackSuVip") boolean notBackSuVip); + + /** + * 鑾峰彇鏀惰棌鐨勬暟閲� + * + * @param uid + * @return + */ + long selectCountByUid(@Param("uid") Long uid, @Param("source")Integer source, @Param("notBackSuVip") boolean notBackSuVip); + + + /** + * 鏍规嵁鐢ㄦ埛ID,鍟嗗搧ID锛屽晢鍝佺被鍨嬫煡璇㈠晢鍝� + * + * @param id + * @param goodsType + * @param goodsId + * @return + */ + CollectionGoodsV2 selectByUidAndGoodsId(@Param("uid") Long uid, @Param("goodsId") Long goodsId); + + + /** + * 鏍规嵁鐢ㄦ埛ID,鍟嗗搧ID锛屽晢鍝佺被鍨嬫煡璇㈠晢鍝� + * + * @param id + * @param goodsType + * @param goodsId + * @return + */ + CollectionGoodsV2 selectByUidAndGoodsType(@Param("uid") Long uid, @Param("goodsId") String goodsId, + @Param("goodsType") Integer goodsType); + + /** + * 鏍规嵁UID鍒犻櫎鏀惰棌 + * + * @param uid + * @return + */ + int deleteByUid(@Param("uid") Long uid); + + /** + * 鐢ㄦ埛id/鏀惰棌绠�鐗堝晢鍝乮d + * @param uid + * @param commonId + * @return + */ + List<CollectionGoodsV2> getByUidAndCommonId(@Param("uid") Long uid, @Param("commonId") Long commonId); + } \ No newline at end of file -- Gitblit v1.8.0