| | |
| | | |
| | | /** |
| | | * 通过最小更新时间做删除 |
| | | * |
| | | * @return |
| | | */ |
| | | int deleteByMinUpdateTime(Long minTime); |
| | | |
| | | /** |
| | | * 根据商品ID列表查询 |
| | | * |
| | | * @param goodsIdList |
| | | * @return |
| | | */ |
| | | List<DaTaoKeDetail> listByGoodsIds(@Param("goodsIdList") List<Long> goodsIdList); |
| | | |
| | | /** |
| | | * 根据主键ID查询 |
| | | * |
| | | * @param idList |
| | | * @return |
| | | */ |
| | | List<DaTaoKeDetail> listByIds(@Param("idList") List<Long> idList); |
| | | |
| | | |
| | | /** |
| | | * 取出最新的id |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | List<DaTaoKeDetail> getGoodsNotInList(@Param("cid") Long cid, @Param("list") List<Long> list, @Param("count") int count); |
| | | |
| | | |
| | | /** |
| | | * 根据标题查询 |
| | | * |
| | | * @param dtitle |
| | | * @return |
| | | */ |
| | | List<DaTaoKeDetail> listByDtitle(String dtitle); |
| | | |
| | | /** |
| | | * 根据标题与分类搜索列表 |
| | | * |
| | | * @param title |
| | | * @param cid |
| | | * @param start |
| | | * @param count |
| | | * @return |
| | | */ |
| | | List<DaTaoKeDetail> listSearchByTitleWithCid(@Param("title") String key, @Param("cid") Long cid, |
| | | @Param("start") long start, @Param("count") int count); |
| | | |
| | | /** |
| | | * 根据标题与分类获取搜索列表数量 |
| | | * |
| | | * @param title |
| | | * @param cid |
| | | * @return |
| | | */ |
| | | Long countSearchByTitleWithCid(@Param("title") String key, @Param("cid") Long cid); |
| | | |
| | | } |