注册用户
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.User;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
|
||||
@Repository
|
||||
@Mapper
|
||||
public interface UserDao {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
@@ -17,6 +20,8 @@ public interface UserDao {
|
||||
|
||||
int updateByPrimaryKey(User record);
|
||||
|
||||
User selectByEmail(String user_email);
|
||||
|
||||
|
||||
User selectByUserLogin(String user_Login);
|
||||
}
|
Reference in New Issue
Block a user