com.jblv.shop.mapper.StoreOrderGoodsMapper Maven / Gradle / Ivy
The newest version!
package com.jblv.shop.mapper;
import com.jblv.shop.domain.StoreOrderGoods;
import java.util.List;
/**
* 订单商品与订单主关联Mapper接口
*
* @author yangtao
* @date 2019-08-29
*/
public interface StoreOrderGoodsMapper
{
/**
* 查询订单商品与订单主关联
*
* @param recId 订单商品与订单主关联ID
* @return 订单商品与订单主关联
*/
public StoreOrderGoods selectStoreOrderGoodsById(Integer recId);
/**
* 查询订单商品与订单主关联列表
*
* @param storeOrderGoods 订单商品与订单主关联
* @return 订单商品与订单主关联集合
*/
public List selectStoreOrderGoodsList(StoreOrderGoods storeOrderGoods);
/**
* 新增订单商品与订单主关联
*
* @param storeOrderGoods 订单商品与订单主关联
* @return 结果
*/
public int insertStoreOrderGoods(StoreOrderGoods storeOrderGoods);
/**
* 修改订单商品与订单主关联
*
* @param storeOrderGoods 订单商品与订单主关联
* @return 结果
*/
public int updateStoreOrderGoods(StoreOrderGoods storeOrderGoods);
/**
* 删除订单商品与订单主关联
*
* @param recId 订单商品与订单主关联ID
* @return 结果
*/
public int deleteStoreOrderGoodsById(Integer recId);
/**
* 批量删除订单商品与订单主关联
*
* @param recIds 需要删除的数据ID
* @return 结果
*/
public int deleteStoreOrderGoodsByIds(String[] recIds);
}