2022-03-15 11:12:47 +08:00
|
|
|
package com.ghy.goods.service;
|
|
|
|
|
|
2022-03-18 19:24:28 +08:00
|
|
|
import com.ghy.goods.domain.GoodsImgs;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
2022-03-15 11:12:47 +08:00
|
|
|
/**
|
|
|
|
|
* 商品图片接口
|
|
|
|
|
*/
|
|
|
|
|
public interface GoodsImgsService {
|
2022-03-18 19:24:28 +08:00
|
|
|
|
|
|
|
|
int batchInsert(Collection<GoodsImgs> goodsImgs);
|
|
|
|
|
int batchUpdate(Collection<GoodsImgs> goodsImgs);
|
|
|
|
|
|
|
|
|
|
int delete(Collection<Long> ids);
|
|
|
|
|
|
|
|
|
|
List<GoodsImgs> selectByGoodsId(@NotNull Long goodsId);
|
|
|
|
|
|
2022-03-15 11:12:47 +08:00
|
|
|
}
|