package com.goafanti.common.dao;

import com.goafanti.common.model.SoftWritingPrice;
import com.goafanti.common.model.SoftWritingPriceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SoftWritingPriceMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    long countByExample(SoftWritingPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    int deleteByExample(SoftWritingPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    int insert(SoftWritingPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    int insertSelective(SoftWritingPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    List<SoftWritingPrice> selectByExample(SoftWritingPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    SoftWritingPrice selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    int updateByExampleSelective(@Param("record") SoftWritingPrice record, @Param("example") SoftWritingPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    int updateByExample(@Param("record") SoftWritingPrice record, @Param("example") SoftWritingPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    int updateByPrimaryKeySelective(SoftWritingPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table soft_writing_price
     *
     * @mbg.generated Tue Sep 01 17:13:57 CST 2020
     */
    int updateByPrimaryKey(SoftWritingPrice record);

	List<SoftWritingPrice> checkSoftWritingPrice(@Param("s")SoftWritingPrice s);

	int selectCountByCid(Integer cid);

}