实体层,dao层基本创建
This commit is contained in:
19
src/main/java/com/lovenav/mapper/AuthDao.java
Normal file
19
src/main/java/com/lovenav/mapper/AuthDao.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package com.lovenav.mapper;
|
||||
|
||||
import com.lovenav.entity.Auth;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface AuthDao {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(Auth record);
|
||||
|
||||
int insertSelective(Auth record);
|
||||
|
||||
Auth selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(Auth record);
|
||||
|
||||
int updateByPrimaryKey(Auth record);
|
||||
}
|
Reference in New Issue
Block a user