parent
52cae940dd
commit
968bd46d46
@ -0,0 +1,16 @@
|
||||
package com.example.flower.mapper;
|
||||
|
||||
import com.example.flower.entity.ChatUser;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import tk.mybatis.mapper.common.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@org.apache.ibatis.annotations.Mapper
|
||||
@Repository
|
||||
public interface ChatUserDao extends Mapper<ChatUser> {
|
||||
@Select("select * from chatuser")
|
||||
List<ChatUser> findAll();
|
||||
}
|
||||
Loading…
Reference in new issue