package pwc.taxtech.atms.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.MyMapper;
import pwc.taxtech.atms.entity.OperationLogBasicData;
import pwc.taxtech.atms.entity.OperationLogBasicDataExample;
import pwc.taxtech.atms.entity.OperationLogSmart;
import pwc.taxtech.atms.entity.OperationLogSmartExample;

import java.util.List;

@Mapper
public interface OperationLogBasicDataMapper extends MyMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table operation_log_basic_data
     *
     * @mbg.generated
     */
    long countByExample(OperationLogBasicDataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table operation_log_basic_data
     *
     * @mbg.generated
     */
    int deleteByExample(OperationLogBasicDataExample example);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.OPERATION_LOG_BASIC_DATA
     *
     * @mbg.generated
     */
    int deleteEquityLogByExample(OperationLogBasicDataExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.OPERATION_LOG_BASIC_DATA
     *
     * @mbg.generated
     */
    List<OperationLogBasicData> selectEquityLogByExample(OperationLogBasicDataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.OPERATION_LOG_BASIC_DATA
     *
     * @mbg.generated
     */
    OperationLogBasicData selectByPrimaryKey(String id);

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

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

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

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

    List<OperationLogBasicData> selectByLimit(@Param("pageindex") int pageindex, @Param("pagesize") int pagesize);

    int insertSmart(OperationLogSmart record);

    long countByExampleSmart(OperationLogSmartExample example);

    List<OperationLogBasicData> selectByExampleWithRowboundsSmart(OperationLogSmartExample example, RowBounds rowBound);
}