本文整理匯總了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;
}