##连接数据库的url中要加入?allowMultiQueries=true否则会报错
Dao
int updateGxMessageInfo(@Param(“list”)List list);
xml
update gx_message_info
set status=2
where id = #{item.id} and status <![CDATA[!=]]>1
##连接数据库的url中要加入?allowMultiQueries=true否则会报错
Dao
int updateGxMessageInfo(@Param(“list”)List list);
xml
update gx_message_info
set status=2
where id = #{item.id} and status <![CDATA[!=]]>1