xiaoyong931011
2023-03-09 7ef244df1339c9f4ab0e94d8fe6cdd5c5879aec1
src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsStyleMapper.java
@@ -2,6 +2,15 @@
import cc.mrbird.febs.mall.entity.MallGoodsStyle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface MallGoodsStyleMapper extends BaseMapper<MallGoodsStyle> {
    void deleteByGoodsId(@Param("id")Long id);
    MallGoodsStyle selectByStyleName(@Param("name")String styleName, @Param("goodsId")Long id);
    List<MallGoodsStyle> selectByGoodsId(@Param("goodsId") Long goodsId);
}