package pwc.taxtech.atms.vat.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.dpo.ProfitLossStatementCondition;
import pwc.taxtech.atms.vat.entity.ProfitLossStatement;
import pwc.taxtech.atms.vat.entity.ProfitLossStatementPrc;
import pwc.taxtech.atms.vat.entity.ProfitLossStatementPrcExample;

@Mapper
public interface ProfitLossStatementPrcMapper extends MyVatMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    long countByExample(ProfitLossStatementPrcExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    int deleteByExample(ProfitLossStatementPrcExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    int insert(ProfitLossStatementPrc record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    int insertSelective(ProfitLossStatementPrc record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    List<ProfitLossStatementPrc> selectByExampleWithRowbounds(ProfitLossStatementPrcExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    List<ProfitLossStatementPrc> selectByExample(ProfitLossStatementPrcExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    ProfitLossStatementPrc selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") ProfitLossStatementPrc record, @Param("example") ProfitLossStatementPrcExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") ProfitLossStatementPrc record, @Param("example") ProfitLossStatementPrcExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(ProfitLossStatementPrc record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table profit_loss_statement_prc
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(ProfitLossStatementPrc record);

    List<ProfitLossStatement> selectByCondition(@Param("plCondition") ProfitLossStatementCondition condition);

    int insertBatch(List<ProfitLossStatement> pls);
}