| | |
| | | |
| | | /** |
| | | * 判断是否已贴过标签 |
| | | * @param title |
| | | * @param startTime |
| | | * @return |
| | | */ |
| | | Long getRelationNum( @Param("labelId") Long labelId); |
| | |
| | | /** |
| | | * 删除商品多个标签 |
| | | */ |
| | | void deleteByAuctionIdAndLabIDs(@Param("auctionId")Long auctionId, @Param("list") List<Long> list); |
| | | void deleteByAuctionIdAndLabIDs(@Param("auctionId")String auctionId, @Param("list") List<Long> list); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 批量删除 |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | int deleteBatchByPK(List<Long> list); |
| | |
| | | |
| | | /** |
| | | * 判断是否已贴过标签 |
| | | * @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类目 |
| | |
| | | * @param goodsId |
| | | * @return |
| | | */ |
| | | int getCountByGoodsId(@Param("goodsId") Long goodsId); |
| | | int getCountByGoodsId(@Param("goodsId") String goodsId); |
| | | |
| | | |
| | | /** |
| | |
| | | * @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); |
| | | |
| | | |
| | | /** |
| | |
| | | * @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 |
| | | */ |