问题描述
- mybatis生成的DAO MAPPER 实体类 没有查询全部 添加什么才能出来查询全部
-
package com.bestteam.base.dao;import com.bestteam.base.entity.User;
public interface UserMapper {
int deleteByPrimaryKey(String id);
int insert(User record);
int insertSelective(User record);
User selectByPrimaryKey(String id);
int updateByPrimaryKeySelective(User record);
int updateByPrimaryKeyWithBLOBs(User record);
int updateByPrimaryKey(User record);
}
解决方案
http://my.oschina.net/sunpr/blog/340951
时间: 2024-08-08 03:54:36