package com.goafanti.common.dao;

import com.goafanti.common.model.UserMid;

public interface UserMidMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_mid
     *
     * @mbg.generated Thu May 06 15:37:38 CST 2021
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_mid
     *
     * @mbg.generated Thu May 06 15:37:38 CST 2021
     */
    int insert(UserMid record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_mid
     *
     * @mbg.generated Thu May 06 15:37:38 CST 2021
     */
    int insertSelective(UserMid record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_mid
     *
     * @mbg.generated Thu May 06 15:37:38 CST 2021
     */
    UserMid selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_mid
     *
     * @mbg.generated Thu May 06 15:37:38 CST 2021
     */
    int updateByPrimaryKeySelective(UserMid record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_mid
     *
     * @mbg.generated Thu May 06 15:37:38 CST 2021
     */
    int updateByPrimaryKey(UserMid record);

	int updateByUid(UserMid um);
}