Home  >  Article  >  Database  >  mysql-求助:ibatis批量更新Mysql数据问题

mysql-求助:ibatis批量更新Mysql数据问题

WBOY
WBOYOriginal
2016-06-06 09:40:141767browse

ibatismysql批量更新数据库

场景:根据消息号code和状态位status更新所有满足条件的字段值为"T"。怎么批量更新?如果是单个条件的话直接用iterate标签把值放到in('xxx','yyy')循环就行了,where后面跟多个条件的时候mysql怎么处理呢?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn