package com.goafanti.common.dao;

import com.goafanti.common.model.TDunLog;
import com.goafanti.common.model.TDunLogExample;
import com.goafanti.order.bo.TDunLogListBo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TDunLogMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    long countByExample(TDunLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    int deleteByExample(TDunLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    int deleteByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    int insert(TDunLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    int insertSelective(TDunLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    List<TDunLog> selectByExample(TDunLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    TDunLog selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    int updateByExampleSelective(@Param("record") TDunLog record, @Param("example") TDunLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    int updateByExample(@Param("record") TDunLog record, @Param("example") TDunLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    int updateByPrimaryKeySelective(TDunLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_dun_log
     *
     * @mbg.generated Tue Nov 20 11:50:41 CST 2018
     */
    int updateByPrimaryKey(TDunLog record);

	List<TDunLogListBo> selectByDunId(String dunId);
}