1,批量更新
2,批量删除
dao.update(Person.class, Chain.make("password", "111111111122"),
Cnd.where("id", "in", new Integer[] { 26, 42 }));2,批量删除
dao.clear(Person.class, Cnd.where("id", "in", new Integer[] { 26, 42 }));
本文提供了两个批量操作的例子:一是批量更新指定ID集合的密码;二是批量删除指定ID集合的数据。
1583

被折叠的 条评论
为什么被折叠?



