|
@@ -5,6 +5,8 @@ import com.boman.common.core.web.controller.BaseController;
|
|
import com.boman.common.log.annotation.Log;
|
|
import com.boman.common.log.annotation.Log;
|
|
import com.boman.common.log.enums.BusinessType;
|
|
import com.boman.common.log.enums.BusinessType;
|
|
import com.boman.common.security.annotation.PreAuthorize;
|
|
import com.boman.common.security.annotation.PreAuthorize;
|
|
|
|
+import com.boman.domain.BomanGroupUser;
|
|
|
|
+import com.boman.domain.SysUser;
|
|
import com.boman.domain.constant.UserConstants;
|
|
import com.boman.domain.constant.UserConstants;
|
|
import com.boman.domain.dto.AjaxResult;
|
|
import com.boman.domain.dto.AjaxResult;
|
|
import com.boman.domain.BomanGroup;
|
|
import com.boman.domain.BomanGroup;
|
|
@@ -65,7 +67,7 @@ public class BomanGroupController extends BaseController
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 修改部门
|
|
|
|
|
|
+ * 修改组织
|
|
*/
|
|
*/
|
|
@PreAuthorize(hasPermi = "system:group:edit")
|
|
@PreAuthorize(hasPermi = "system:group:edit")
|
|
@Log(title = "部门管理", businessType = BusinessType.UPDATE)
|
|
@Log(title = "部门管理", businessType = BusinessType.UPDATE)
|
|
@@ -117,4 +119,14 @@ public class BomanGroupController extends BaseController
|
|
return bomanGroupService.deleteGroupUser(groupId,userIds);
|
|
return bomanGroupService.deleteGroupUser(groupId,userIds);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 根据组织编号获取对应组织所有用户
|
|
|
|
+ */
|
|
|
|
+ @PreAuthorize(hasPermi = "system:role:user")
|
|
|
|
+ @GetMapping(value = "/user/{groupId}")
|
|
|
|
+ public AjaxResult getUserInfo(@PathVariable Long groupId)
|
|
|
|
+ {
|
|
|
|
+ List<BomanGroupUser> bomanGroupUser = bomanGroupService.selectUserByGroupId(groupId);
|
|
|
|
+ return AjaxResult.success(bomanGroupUser);
|
|
|
|
+ }
|
|
}
|
|
}
|