From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java index 15d2b62..a581136 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java @@ -3,6 +3,7 @@ import java.util.Date; import java.util.List; +import com.yeshi.fanli.entity.SystemEnum; import com.yeshi.fanli.entity.push.PushGoods; import com.yeshi.fanli.exception.push.PushException; import com.yeshi.fanli.exception.push.PushGoodsException; @@ -15,7 +16,7 @@ public int insertSelective(PushGoods record) throws PushGoodsException; - public PushGoods selectByPrimaryKey(Long id) throws PushGoodsException; + public PushGoods selectByPrimaryKey(Long id); public int updateByPrimaryKeySelective(PushGoods record) throws PushGoodsException; @@ -38,9 +39,9 @@ * @param key * @return */ - public List<PushGoods> listQuery(long start, int count, String key, Integer state); + public List<PushGoods> listQuery(long start, int count, String key, Integer state, SystemEnum system); - public long countQuery(String key, Integer state); + public long countQuery(String key, Integer state, SystemEnum system); /** * 鑾峰彇鍘嗗彶鎺ㄩ�佸晢鍝佷俊鎭� @@ -49,9 +50,9 @@ * @param pushTime * @return */ - public List<PushGoods> listHistoryByPushTime(long start, int count, Long uid, Date pushTime); + public List<PushGoods> listHistoryByPushTime(long start, int count, Long uid, Date pushTime, SystemEnum system); - public long countHistoryByPushTime(Long uid, Date pushTime); + public long countHistoryByPushTime(Long uid, Date pushTime, SystemEnum system); /** @@ -67,7 +68,7 @@ * 瀹氭椂鎺ㄩ�佷换鍔� * @return */ - public List<PushGoods> listTask(); + public List<PushGoods> listTask(SystemEnum system); /** * 瀹氭椂鎺ㄩ�佸鐞� @@ -83,5 +84,13 @@ * @throws PushException */ public void handPush(Long id) throws Exception, PushGoodsException, PushException; + + /** + * 淇濆瓨淇℃伅 + * @param record + * @throws PushGoodsException + * @throws Exception + */ + public void saveInfo(PushGoods record) throws PushGoodsException, Exception; } -- Gitblit v1.8.0