SysUserServicesMapper.java 1.07 KB
package com.glsx.usercenter.mapper;

import com.glsx.usercenter.pojo.user.SysUserServices;
import com.glsx.usercenter.pojo.user.SysUserServicesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserServicesMapper {
    long countByExample(SysUserServicesExample example);

    int deleteByExample(SysUserServicesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysUserServices record);

    int insertSelective(SysUserServices record);

    List<SysUserServices> selectByExample(SysUserServicesExample example);

    SysUserServices selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysUserServices record, @Param("example") SysUserServicesExample example);

    int updateByExample(@Param("record") SysUserServices record, @Param("example") SysUserServicesExample example);

    int updateByPrimaryKeySelective(SysUserServices record);

    int updateByPrimaryKey(SysUserServices record);

    int deleteByUserId(@Param(value = "userId") int userId);
}