本文整理汇总了Java中org.apache.ibatis.session.SqlSession.selectList方法的典型用法代码示例。如果您正苦于以下问题:Java SqlSession.selectList方法的具体用法?Java SqlSession.selectList怎么用?Java SqlSession.selectList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ibatis.session.SqlSession
的用法示例。
在下文中一共展示了SqlSession.selectList方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getProblemUser
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public List<Map<String, Object>> getProblemUser(SqlSession sqlSession, int uid, PageRowBounds pager) {
return sqlSession.selectList("problemUser.selectProblemUser", uid, pager);
}
示例2: selectPraiseNotifyByUserid
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
/**
*
*/
@Override
public List<Map> selectPraiseNotifyByUserid(String userid) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> list = os.selectList("selectPraiseNotifyByUserid", userid);
os.close();
return list;
}
示例3: selectFollowList
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectFollowList(Map user_id) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> list = os.selectList("selectFollowList", user_id);
os.close();
return list;
}
示例4: selectArticleLikeTitle
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectArticleLikeTitle(String articletitle) {
SqlSession os = sqlSessionFactory.openSession();
List<Map> articleTitle = os.selectList("selectArticleLikeTitle", articletitle);
os.close();
return articleTitle;
}
示例5: selectAllPraise
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
/**
* 分页 获取所有点赞情况
*/
@Override
public List<Map> selectAllPraise(Map praiseMap) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> list = os.selectList("selectAllPraise", praiseMap);
os.close();
return list;
}
示例6: selectFollowListByUseridAndfollowUserid
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectFollowListByUseridAndfollowUserid(Map map) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> list = os.selectList("selectFollowListByUseridAndfollowUserid", map);
os.close();
return list;
}
示例7: selectFollowNotifyByUseridHelp2
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<String> selectFollowNotifyByUseridHelp2(Map map) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<String> list = os.selectList("selectFollowNotifyByUseridHelp2", map);
os.close();
return list;
}
示例8: selectPraiseListByUserid
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectPraiseListByUserid(String userid) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> list = os.selectList("selectPraiseListByUserid", userid);
os.close();
return list;
}
示例9: loginUserInfo
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Userinfo> loginUserInfo(Map userinfomap) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Userinfo> userList = os.selectList("loginUserInfo",userinfomap);
os.close();
return userList;
}
示例10: selectCollectNotifi
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectCollectNotifi(Map collectMap) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> list = os.selectList("selectCollectNotifi", collectMap);
os.close();
return list;
}
示例11: selectUSerByListUserid
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectUSerByListUserid(List<String> list) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> userList = os.selectList("selectUSerByListUserid",list);
os.close();
return userList;
}
示例12: selectFollowNotifyByUserid
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectFollowNotifyByUserid(List<String> list) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> listresult = os.selectList("selectFollowNotifyByUserid", list);
os.close();
return listresult;
}
示例13: listUser
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> listUser(Map map) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> list = os.selectList("listUser", map);
os.close();
return list;
}
示例14: selectAllcommentNotifi
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectAllcommentNotifi(Map map) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> mapList = os.selectList("selectAllcommentNotifi", map);
os.close();
return mapList;
}
示例15: selectIndexArticleList
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public List<Map> selectIndexArticleList(Map map) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
List<Map> list = os.selectList("selectIndexArticleList", map);
os.close();
return list;
}