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

import cn.superdesk.uniorder.dao.entity.unified.UnifiedOrderProfit;
import cn.superdesk.uniorder.dao.entity.unified.UnifiedOrderProfitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UnifiedOrderProfitMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    long countByExample(UnifiedOrderProfitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int deleteByExample(UnifiedOrderProfitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int insert(UnifiedOrderProfit record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int insertSelective(UnifiedOrderProfit record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    List<UnifiedOrderProfit> selectByExampleWithBLOBs(UnifiedOrderProfitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    List<UnifiedOrderProfit> selectByExample(UnifiedOrderProfitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    UnifiedOrderProfit selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int updateByExampleSelective(@Param("record") UnifiedOrderProfit record, @Param("example") UnifiedOrderProfitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int updateByExampleWithBLOBs(@Param("record") UnifiedOrderProfit record, @Param("example") UnifiedOrderProfitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int updateByExample(@Param("record") UnifiedOrderProfit record, @Param("example") UnifiedOrderProfitExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int updateByPrimaryKeySelective(UnifiedOrderProfit record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int updateByPrimaryKeyWithBLOBs(UnifiedOrderProfit record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_order_profit
     *
     * @mbg.generated Thu May 28 21:11:33 CST 2020
     */
    int updateByPrimaryKey(UnifiedOrderProfit record);
}