parent
c333da9d13
commit
47fa05022d
@ -0,0 +1,18 @@
|
||||
package com.example.dao;
|
||||
|
||||
import com.example.entity.AdminInfo;
|
||||
import com.example.vo.AdminInfoVo;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import tk.mybatis.mapper.common.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
public interface AdminInfoDao extends Mapper<AdminInfo> {
|
||||
List<AdminInfoVo> findByName(@Param("name") String name);
|
||||
|
||||
int checkRepeat(String column, String value, Long id);
|
||||
AdminInfoVo findByUsername(String username);
|
||||
Integer count();
|
||||
}
|
Loading…
Reference in new issue