package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysGradeWeight;
import com.ruoyi.system.domain.SysGradeWeightExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysGradeWeightMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    long countByExample(SysGradeWeightExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    int deleteByExample(SysGradeWeightExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    int deleteByPrimaryKey(Long userid);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    int insert(SysGradeWeight record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    int insertSelective(SysGradeWeight record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    List<SysGradeWeight> selectByExample(SysGradeWeightExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    SysGradeWeight selectByPrimaryKey(Long userid);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    int updateByExampleSelective(@Param("record") SysGradeWeight record, @Param("example") SysGradeWeightExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    int updateByExample(@Param("record") SysGradeWeight record, @Param("example") SysGradeWeightExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    int updateByPrimaryKeySelective(SysGradeWeight record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_weight
     *
     * @mbg.generated Fri Aug 11 10:37:02 CST 2023
     */
    int updateByPrimaryKey(SysGradeWeight record);
}