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

import cn.superdesk.uniorder.dao.entity.accounting.AccountingAppeal;
import cn.superdesk.uniorder.dao.entity.accounting.AccountingAppealExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AccountingAppealMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    long countByExample(AccountingAppealExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    int deleteByExample(AccountingAppealExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    int insert(AccountingAppeal record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    int insertSelective(AccountingAppeal record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    List<AccountingAppeal> selectByExample(AccountingAppealExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    AccountingAppeal selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    int updateByExampleSelective(@Param("record") AccountingAppeal record, @Param("example") AccountingAppealExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    int updateByExample(@Param("record") AccountingAppeal record, @Param("example") AccountingAppealExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    int updateByPrimaryKeySelective(AccountingAppeal record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table accounting_appeal
     *
     * @mbg.generated Tue Oct 20 13:49:38 CST 2020
     */
    int updateByPrimaryKey(AccountingAppeal record);
}