Commit 545cee8b authored by Quxl's avatar Quxl

x

parent 923aa379
......@@ -26,8 +26,6 @@ public interface AdminAuthService {
List<Integer> queryGroupFilmtypeList(Integer group_id);
List<Integer> queryGroupEnrolltypeList(Integer group_id);
void updateGroupAuth(Integer group_id, Integer[] menu_ids, Integer[] film_types);
void saveOrUpdateMenu(Fc_admin_menu menu);
......
......@@ -104,13 +104,6 @@ public class AdminAuthServiceImpl implements AdminAuthService {
return list;
}
@Override
public List<Integer> queryGroupEnrolltypeList(Integer group_id) {
String s = "select film_type_id from fc_admin_group_enrolltype where group_id = ?";
List<Integer> list = jdbcTemplate.queryForObjects(s, Integer.class, group_id);
return list;
}
@Override
@Transactional
public void updateGroupAuth(Integer group_id, Integer[] menu_ids, Integer[] film_types) {
......
......@@ -184,8 +184,7 @@ public class AdminAuthController {
public Object groupAuthQuery(Integer group_id) throws FileNotFoundException {
List<Map<String, Object>> groupMenuList = service.queryGroupMenuList(group_id);
List<Integer> groupFilmtypeList = service.queryGroupFilmtypeList(group_id);
List<Integer> groupEnrolltypeList = service.queryGroupEnrolltypeList(group_id);
return Rjx.jsonOk().set("groupMenuList", groupMenuList).set("groupFilmtypeList", groupFilmtypeList).set("groupEnrolltypeList", groupEnrolltypeList);
return Rjx.jsonOk().set("groupMenuList", groupMenuList).set("groupFilmtypeList", groupFilmtypeList);
}
@ResponseBody
......
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