+ * 应用-数据字典表 前端控制器 + *
+ * + * @author StdProject + * @since 2023-12-07 + */ +@Tag(name = "数据字典管理", description = "数据字典添加、数据字典修改、数据字典删除、数据字典查询等功能") +@RestController +@RequestMapping("/app-dictionary") +public class AppDictionaryController { + + @Autowired + private IAppDictionaryService appDictionaryService; + + @Operation(summary = "分页查询数据字典列表") + @PostMapping("/page") + @OperationLog(type = "06", module = "数据字典管理", description = "分页查询数据字典列表") + public Result+ * 应用-菜单表 前端控制器 + *
+ * + * @author StdProject + * @since 2023-12-07 + */ +@Tag(name = "菜单管理", description = "菜单添加、菜单修改、菜单删除、菜单查询等功能") +@RestController +@RequestMapping("/app-menu") +public class AppMenuController { + + @Autowired + private IAppMenuService appMenuService; + + @Operation(summary = "分页查询菜单列表") + @PostMapping("/page") + @OperationLog(type = "06", module = "菜单管理", description = "分页查询菜单列表") + public Result+ * 应用-操作日志表 前端控制器 + *
+ * + * @author StdProject + * @since 2023-12-07 + */ +@Tag(name = "操作日志管理", description = "操作日志查询、操作日志删除等功能") +@RestController +@RequestMapping("/api/optlog") +public class AppOptLogController { + + @Autowired + private IAppOptLogService appOptLogService; + + @Operation(summary = "分页查询操作日志列表") + @PostMapping("/page") + @OperationLog(type = "06", module = "操作日志管理", description = "分页查询操作日志列表") + public Result+ * 应用-组织机构 前端控制器 + *
+ * + * @author StdProject + * @since 2023-12-07 + */ +@Tag(name = "组织管理", description = "组织添加、组织修改、组织删除、组织查询等功能,支持公司和部门两级树形结构") +@RestController +@RequestMapping("/api/org") +public class AppOrganizationController { + + @Autowired + private IAppOrganizationService appOrganizationService; + // 需要在类开头注入 IAppUserService + @Autowired + private IAppUserService appUserService; + + @Operation(summary = "查询公司结构树") + @GetMapping("/getCompanyTree") + @OperationLog(type = "06", module = "组织管理", description = "查询公司结构树") + public Result+ * 应用-角色表 前端控制器 + *
+ * + * @author StdProject + * @since 2023-12-07 + */ +@Tag(name = "角色管理", description = "角色添加、角色修改、角色删除、角色查询,角色权限分配等功能") +@RestController +@RequestMapping("/api/role") +public class AppRoleController { + + @Autowired + private IAppRoleService appRoleService; + + @Autowired + private IAppRoleMenuService appRoleMenuService; + + @Autowired + private IAppRoleUserService appRoleUserService; + + @Operation(summary = "分页查询角色列表") + @PostMapping("/page") + @OperationLog(type = "06", module = "角色管理", description = "分页查询角色列表") + public Result+ * 应用-用户表 前端控制器 + *
+ * + * @author StdProject + * @since 2023-12-07 + */ +@Tag(name = "用户管理", description = "用户信息维护、用户角色分配、用户登录、用户修改密码、用户修改个人信息等功能") +@RestController +@RequestMapping("/app-user") +public class AppUserController { + + @Autowired + private IAppUserService appUserService; + + @Operation(summary = "分页查询用户列表") + @PostMapping("/page") + @OperationLog(type = "06", module = "用户管理", description = "分页查询用户列表") + public Result