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/lable/LabelGoodsMapper.java | 44 ++++++++++++++++---------------------------- 1 files changed, 16 insertions(+), 28 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java index afb1bbc..0db41d9 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java @@ -4,24 +4,13 @@ import org.apache.ibatis.annotations.Param; +import com.yeshi.fanli.dao.BaseMapper; import com.yeshi.fanli.entity.bus.lable.LabelGoods; -public interface LabelGoodsMapper { +public interface LabelGoodsMapper extends BaseMapper<LabelGoods>{ - int deleteByPrimaryKey(Long id); - - int insert(LabelGoods record); - - int insertSelective(LabelGoods record); - - LabelGoods selectByPrimaryKey(Long id); - - int updateByPrimaryKeySelective(LabelGoods record); - - int updateByPrimaryKey(LabelGoods record); - /** * 鎵归噺鎻掑叆 * @param list @@ -31,8 +20,6 @@ /** * 鍒ゆ柇鏄惁宸茶创杩囨爣绛� - * @param title - * @param startTime * @return */ Long getRelationNum( @Param("labelId") Long labelId); @@ -46,8 +33,14 @@ /** + * 鍒犻櫎鍟嗗搧澶氫釜鏍囩 + */ + void deleteByAuctionIdAndLabIDs(@Param("auctionId")String auctionId, @Param("list") List<Long> list); + + + + /** * 鎵归噺鍒犻櫎 - * @param ids * @return */ int deleteBatchByPK(List<Long> list); @@ -55,11 +48,9 @@ /** * 鍒ゆ柇鏄惁宸茶创杩囨爣绛� - * @param title - * @param startTime * @return */ - Long isExistence(@Param("goodsId") Long goodsId, @Param("labelId") Long labelId); + Long isExistence(@Param("goodsId") String goodsId, @Param("labelId") Long labelId); /** * 鏌ヨ鍟嗗搧褰撳墠鏄惁鍖呭惈 9k9绫荤洰 @@ -76,7 +67,7 @@ * @param goodsId * @return */ - int getCountByGoodsId(@Param("goodsId") Long goodsId); + int getCountByGoodsId(@Param("goodsId") String goodsId); /** @@ -84,9 +75,9 @@ * @param record * @return */ - List<LabelGoods> queryByGoodsId(@Param("start") int start, @Param("count") int count, @Param("goodsId") Long record); + List<LabelGoods> queryByGoodsId(@Param("start") int start, @Param("count") int count, @Param("goodsId") String record); - int getCountQueryByGoodsId(@Param("goodsId") Long record); + int getCountQueryByGoodsId(@Param("goodsId") String record); /** @@ -94,33 +85,30 @@ * @param goodsId * @return */ - int deleteByGoodsId(Long goodsId); + int deleteByGoodsId(String goodsId); - int deleteBatchByGoodsId(List<Long> list); + int deleteBatchByGoodsId(List<String> list); /** * 鏍规嵁鏍囩id鎵归噺鍒犻櫎 - * @param ids * @return */ int deleteByLabId(Long labId); /** * 鎵归噺鍒犻櫎 - * @param ids * @return */ - int deleteByGoodsIdAndLabId(Long goodsId, Long labId); + int deleteByGoodsIdAndLabId(String goodsId, Long labId); /** * 鏌ヨ鎵�鏈夋暟鎹�+鏉′欢 * @param start * @param count - * @param goodsId * @param labIds * @return */ -- Gitblit v1.8.0