Files
love-nav/src/main/java/com/lovenav/dao/UserDao.java
2023-12-22 11:47:07 +08:00

31 lines
621 B
Java

package com.lovenav.dao;
import com.lovenav.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
@Repository
@Mapper
public interface UserDao {
int deleteByPrimaryKey(Integer id);
int insert(User record);
int insertSelective(User record);
User selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(User record);
int updateByPrimaryKey(User record);
User selectByEmail(String user_email);
User selectByUserLogin(String user_login);
int updateByEmail(User user);
}