| | |
| | | public Long getRelationNum(Long labelId) throws LabelGoodsException; |
| | | |
| | | |
| | | public Long isExistence(Long goodsId, Long labId); |
| | | public Long isExistence(String goodsId, Long labId); |
| | | |
| | | public int deleteByGoodsIdAndLabId(Long goodsId, Long labId); |
| | | public int deleteByGoodsIdAndLabId(String goodsId, Long labId); |
| | | |
| | | /** |
| | | * 查询商品对应标签 --分页 |
| | |
| | | * @return |
| | | * @throws LabelClassException |
| | | */ |
| | | public List<LabelGoods> queryByGoodsId(int start, int count, Long goodsId) throws LabelClassException; |
| | | public List<LabelGoods> queryByGoodsId(int start, int count, String goodsId) throws LabelClassException; |
| | | |
| | | public int getCountQueryByGoodsId(Long goodsId); |
| | | public int getCountQueryByGoodsId(String goodsId); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param goodsId |
| | | * @return |
| | | */ |
| | | public int getCountByGoodsId(Long goodsId); |
| | | public int getCountByGoodsId(String goodsId); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param admin |
| | | * @throws Exception |
| | | */ |
| | | public void batchGoodsAddLables(List<Long> goodsIdList, List<Long> labIdList, AdminUser admin) throws Exception; |
| | | public void batchGoodsAddLables(List<String> goodsIdList, List<Long> labIdList, AdminUser admin) throws Exception; |
| | | |
| | | /** |
| | | * 单个商品贴标签 |
| | |
| | | * @param admin |
| | | * @throws Exception |
| | | */ |
| | | public void singleGoodsAddLables(Long goodsId, List<Long> labIdList, AdminUser admin) throws Exception; |
| | | public void singleGoodsAddLables(String goodsId, List<Long> labIdList, AdminUser admin) throws Exception; |
| | | |
| | | } |