Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

批量更新的操作是否可以自定义表名 #367

Closed
ansjsun opened this issue Dec 24, 2012 · 2 comments
Closed

批量更新的操作是否可以自定义表名 #367

ansjsun opened this issue Dec 24, 2012 · 2 comments
Milestone

Comments

@ansjsun
Copy link
Contributor

ansjsun commented Dec 24, 2012

普通的有 dao.fastinsert(all) 但是我想dao.fastinsert(table_name,all)

特申请去做

@zozoh
Copy link
Member

zozoh commented Dec 24, 2012

哦,这个到是可以考虑,不过你其实可以

   dao.fastInsert(List<Map<String,Object>> list);

来搞定
只要 map 里有 key ".table" 表示表名,即可

@zozoh zozoh modified the milestones: 1.b.51, 1.b.50 Apr 12, 2014
@zozoh zozoh modified the milestones: 1.b.51, 1.b.52 Oct 12, 2014
@wendal
Copy link
Member

wendal commented Feb 10, 2015

用上述方法就ok啦,不需要再加方法了

@wendal wendal closed this as completed Feb 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants