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/push/PushGoodsMapper.java | 153 +++++++++++++++++++++++++------------------------- 1 files changed, 77 insertions(+), 76 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/PushGoodsMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/PushGoodsMapper.java index 7d444ff..bf901d9 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/PushGoodsMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/PushGoodsMapper.java @@ -1,77 +1,78 @@ -package com.yeshi.fanli.dao.mybatis.push; - -import java.util.Date; -import java.util.List; - -import org.apache.ibatis.annotations.Param; - -import com.yeshi.fanli.entity.push.PushGoods; - -public interface PushGoodsMapper { - - int deleteByPrimaryKey(Long id); - - int insert(PushGoods record); - - int insertSelective(PushGoods record); - - PushGoods selectByPrimaryKey(Long id); - - int updateByPrimaryKeySelective(PushGoods record); - - int updateByPrimaryKey(PushGoods record); - - /** - * 鎵归噺鍒犻櫎 - * @param list - * @return - */ - int deleteBatchByPrimaryKey(List<Long> list); - - /** - * 鍚庣鍒楄〃鏌ヨ - * @param start - * @param count - * @param key - * @return - */ - List<PushGoods> listQuery(@Param("start") long start, @Param("count") int count, - @Param("key") String key, @Param("state") Integer state); - - long countQuery(@Param("key") String key, @Param("state") Integer state); - - - /** - * 鑾峰彇鍘嗗彶鎺ㄩ�佸晢鍝佷俊鎭� - * @param start - * @param count - * @param pushTime - * @return - */ - List<PushGoods> listHistoryByPushTime(@Param("start") long start, @Param("count") int count, - @Param("uid") Long uid, @Param("pushTime") Date pushTime); - - /** - * 缁熻鍘嗗彶鎺ㄩ�佸晢鍝佷俊鎭� - * @param start - * @param count - * @param pushTime - * @return - */ - long countHistoryByPushTime(@Param("uid") Long uid, @Param("pushTime") Date pushTime); - - /** - * 鏌ヨ宸叉帹閫佽褰� - * @param list - * @return - */ - List<PushGoods> listByPushState(List<Long> list); - - - /** - * 闇�瑕佹墽琛屾帹閫佺殑浠诲姟 - * @return - */ - List<PushGoods> listTask(); - +package com.yeshi.fanli.dao.mybatis.push; + +import java.util.Date; +import java.util.List; + +import com.yeshi.fanli.entity.SystemEnum; +import org.apache.ibatis.annotations.Param; + +import com.yeshi.fanli.entity.push.PushGoods; + +public interface PushGoodsMapper { + + int deleteByPrimaryKey(Long id); + + int insert(PushGoods record); + + int insertSelective(PushGoods record); + + PushGoods selectByPrimaryKey(Long id); + + int updateByPrimaryKeySelective(PushGoods record); + + int updateByPrimaryKey(PushGoods record); + + /** + * 鎵归噺鍒犻櫎 + * @param list + * @return + */ + int deleteBatchByPrimaryKey(List<Long> list); + + /** + * 鍚庣鍒楄〃鏌ヨ + * @param start + * @param count + * @param key + * @return + */ + List<PushGoods> listQuery(@Param("start") long start, @Param("count") int count, + @Param("key") String key, @Param("state") Integer state, @Param("system") SystemEnum system); + + long countQuery(@Param("key") String key, @Param("state") Integer state, @Param("system") SystemEnum system); + + + /** + * 鑾峰彇鍘嗗彶鎺ㄩ�佸晢鍝佷俊鎭� + * @param start + * @param count + * @param pushTime + * @return + */ + List<PushGoods> listHistoryByPushTime(@Param("start") long start, @Param("count") int count, + @Param("uid") Long uid, @Param("pushTime") Date pushTime, @Param("system") SystemEnum system); + + /** + * 缁熻鍘嗗彶鎺ㄩ�佸晢鍝佷俊鎭� + * @param uid + * @param pushTime + * @param system + * @return + */ + long countHistoryByPushTime(@Param("uid") Long uid, @Param("pushTime") Date pushTime, @Param("system") SystemEnum system); + + /** + * 鏌ヨ宸叉帹閫佽褰� + * @param list + * @return + */ + List<PushGoods> listByPushState(List<Long> list); + + + /** + * 闇�瑕佹墽琛屾帹閫佺殑浠诲姟 + * @return + */ + List<PushGoods> listTask( @Param("system") SystemEnum system); + } \ No newline at end of file -- Gitblit v1.8.0