nutz6--批量更新,刪除

1,批量更新
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 }));
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章