package org.mypro.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.mypro.entity.User;
import org.mypro.entity.UserExample;
public interface UserMapper {
// 根据id删除管理员数据
int deleteByPrimaryKey(Integer id);
// 将管理员数据插入admin表中
int insert(User record);
// 根据where语句条件查询管理员数据
List<User> selectByExample(UserExample example);
Integer countByExample(UserExample example);
// 根据id查询管理员数据
User selectByPrimaryKey(Integer id);
// 根据id修改管理员数据
int updateByPrimaryKeySelective(User record);
}