package cn.superdesk.uniorder.dao.mapper.score;

import cn.superdesk.uniorder.dao.entity.score.ScoreOrderGoods;
import cn.superdesk.uniorder.dao.entity.score.ScoreOrderGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScoreOrderGoodsMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    long countByExample(ScoreOrderGoodsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    int deleteByExample(ScoreOrderGoodsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    int insert(ScoreOrderGoods record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    int insertSelective(ScoreOrderGoods record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    List<ScoreOrderGoods> selectByExample(ScoreOrderGoodsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    ScoreOrderGoods selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    int updateByExampleSelective(@Param("record") ScoreOrderGoods record, @Param("example") ScoreOrderGoodsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    int updateByExample(@Param("record") ScoreOrderGoods record, @Param("example") ScoreOrderGoodsExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    int updateByPrimaryKeySelective(ScoreOrderGoods record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table score_order_goods
     *
     * @mbg.generated Thu Jun 11 15:37:11 CST 2020
     */
    int updateByPrimaryKey(ScoreOrderGoods record);
}