| | |
| | | package com.yeshi.fanli.service.inter.shop;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.shop.BanLiShopGoodsImg;
|
| | |
|
| | | /**
|
| | | * 板栗商城图片服务
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface BanLiShopGoodsImgService {
|
| | |
|
| | | /**
|
| | | * 添加图片
|
| | | * |
| | | * @param pictureUrl
|
| | | */
|
| | | public void addImg(String pictureUrl, Long goodsId);
|
| | |
|
| | | /**
|
| | | * 根据商品ID查询图片
|
| | | * |
| | | * @param goodsId
|
| | | * @return
|
| | | */
|
| | | public List<BanLiShopGoodsImg> listByGoodsId(Long goodsId);
|
| | |
|
| | | /**
|
| | | * 根据主键检索
|
| | | * |
| | | * @param id
|
| | | * @return
|
| | | */
|
| | | public BanLiShopGoodsImg selectByPrimaryKey(Long id);
|
| | |
|
| | | /**
|
| | | * 按主键更新
|
| | | * |
| | | * @param goods
|
| | | */
|
| | | public void updateSelectiveByPrimaryKey(BanLiShopGoodsImg img);
|
| | |
|
| | | /**
|
| | | * 批量删除
|
| | | * |
| | | * @param idsList
|
| | | */
|
| | | public void delete(List<Long> idsList);
|
| | |
|
| | | /**
|
| | | * 按主键删除
|
| | | * |
| | | * @param id
|
| | | */
|
| | | public void deleteByPrimaryKey(Long id);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.shop; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.shop.BanLiShopGoodsImg; |
| | | |
| | | /** |
| | | * 板栗商城图片服务 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public interface BanLiShopGoodsImgService { |
| | | |
| | | /** |
| | | * 添加图片 |
| | | * |
| | | * @param pictureUrl |
| | | */ |
| | | public void addImg(String pictureUrl, Long goodsId); |
| | | |
| | | /** |
| | | * 根据商品ID查询图片 |
| | | * |
| | | * @param goodsId |
| | | * @return |
| | | */ |
| | | public List<BanLiShopGoodsImg> listByGoodsId(Long goodsId); |
| | | |
| | | /** |
| | | * 根据主键检索 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public BanLiShopGoodsImg selectByPrimaryKey(Long id); |
| | | |
| | | /** |
| | | * 按主键更新 |
| | | * |
| | | * @param goods |
| | | */ |
| | | public void updateSelectiveByPrimaryKey(BanLiShopGoodsImg img); |
| | | |
| | | /** |
| | | * 批量删除 |
| | | * |
| | | * @param idsList |
| | | */ |
| | | public void delete(List<Long> idsList); |
| | | |
| | | /** |
| | | * 按主键删除 |
| | | * |
| | | * @param id |
| | | */ |
| | | public void deleteByPrimaryKey(Long id); |
| | | |
| | | } |