Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-06 09:40:14
Original
1775 people have browsed it

ibatismysql批量更新数据库

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!