Commit 923aa379 authored by Quxl's avatar Quxl

x

parent b4fa2dfe
......@@ -77,6 +77,7 @@ public class AdminUserServiceImpl implements AdminUserService {
@Transactional
public void saveGroupFuns(Integer group_id, Integer[] fun_id) {
jdbcTemplate.executeUpdate("delete from fc_user_group_funs where group_id = ?", group_id);
if(fun_id != null && fun_id.length > 0) {
List<Fc_user_group_funs> list = new ArrayList<Fc_user_group_funs>();
for(Integer i : fun_id) {
Fc_user_group_funs gf = new Fc_user_group_funs();
......@@ -86,6 +87,7 @@ public class AdminUserServiceImpl implements AdminUserService {
}
jdbcTemplate.batchSave(list);
}
}
@Override
public void saveGroupRound(Integer group_id, Integer[] rounds) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment