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.ProfitLossStatementExample;

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

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

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

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

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

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

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

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

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

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

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

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

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

    int insertBatch(List<ProfitLossStatement> pls);
}