本文整理汇总了Java中org.apache.ibatis.session.SqlSession.update方法的典型用法代码示例。如果您正苦于以下问题:Java SqlSession.update方法的具体用法?Java SqlSession.update怎么用?Java SqlSession.update使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ibatis.session.SqlSession
的用法示例。
在下文中一共展示了SqlSession.update方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: updateUserpass
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public int updateUserpass(Map infoMap) {
SqlSession os = sqlSessionFactory.openSession();
int i = os.update("updateUserpass", infoMap);
os.close();
return i;
}
示例2: updateUserinfo
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public void updateUserinfo(Map map) {
SqlSession os = sqlSessionFactory.openSession();
os.update("updateUserinfo", map);
os.close();
}
示例3: update
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean update(SqlSession sqlSession, GroupUserEntity entity) {
return sqlSession.update("groupUser.update", entity) == 1;
}
示例4: updateOne
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean updateOne(SqlSession sqlSession, AnnouncementEntity entity) {
return sqlSession.update("announcement.updateOne", entity) == 1;
}
示例5: updateLogo
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public void updateLogo(Map map) {
SqlSession os = sqlSessionFactory.openSession();
os.update("updateLogo", map);
os.close();
}
示例6: updateCardClassify
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public void updateCardClassify(Map map) {
SqlSession os = sqlSessionFactory.openSession();
os.update("updateCardClassify", map);
os.close();
}
示例7: updateUserTimes
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean updateUserTimes(SqlSession sqlSession, UserEntity entity) {
return sqlSession.update("user.updateUserTimes", entity) == 1;
}
示例8: addUserSubmitTimesByUid
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean addUserSubmitTimesByUid(SqlSession sqlSession, int uid) {
return sqlSession.update("user.addUserSubmitTimes", uid) == 1;
}
示例9: addUserAcceptTimesByUid
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean addUserAcceptTimesByUid(SqlSession sqlSession, int uid) {
return sqlSession.update("user.addUserAcceptTimes", uid) == 1;
}
示例10: addUserContestTimesByUid
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean addUserContestTimesByUid(SqlSession sqlSession, int uid) {
return sqlSession.update("user.addUserContestTimes", uid) == 1;
}
示例11: updateContestStatus
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean updateContestStatus(SqlSession sqlSession, ContestEntity contestEntity) {
return sqlSession.update("contest.updateContestStatus", contestEntity) == 1;
}
示例12: updateUserAvatar
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean updateUserAvatar(SqlSession sqlSession, UserEntity userEntity) {
return sqlSession.update("user.updateUserAvatar", userEntity) == 1;
}
示例13: updateOneNum
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public void updateOneNum(Map commentMap) throws Exception {
SqlSession os = sqlSessionFactory.openSession();
os.update("updateOneNum", commentMap);
os.close();
}
示例14: updateArticleabstract
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
@Override
public void updateArticleabstract(Articleabstract article_abstract) {
SqlSession os = sqlSessionFactory.openSession();
os.update("updateArticleabstract", article_abstract);
os.close();
}
示例15: updateContestProblemTimes
import org.apache.ibatis.session.SqlSession; //导入方法依赖的package包/类
public boolean updateContestProblemTimes(SqlSession sqlSession, ContestProblemEntity entity) {
return sqlSession.update("contestProblem.updateTimes", entity) == 1;
}