-
Notifications
You must be signed in to change notification settings - Fork 66
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
内部版: 一个人组织架构目前只有一个 #704
Labels
Layer: saas
SaaS module related
Sign: help wanted
Extra attention is needed
Type: bug
Something isn't working
Comments
审计对接群 |
代码 # 2. add profile & department relation
try:
department = Department.objects.get(
enabled=True, category_id=self.category.id, code=self._get_department_code(staff.group_id)
)
except ObjectDoesNotExist:
logger.warning("the department<%s> of staff<%s> from tof is missing", staff.group_id, username)
continue 的确只存了一个关系 |
看到注解了, 数据源接口就只能拉到一个 # 当前从 xxx 中获取的数据中,用户只有单个部门的关联数据
# 所以当存在新的关联关系后,需要解绑原有的关系 |
疑似bug人-> 部门, 只能拿到一个; 但是如果一个人属于多个部门, 部门-人应该是能拿到的? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Layer: saas
SaaS module related
Sign: help wanted
Extra attention is needed
Type: bug
Something isn't working
应该有多个, 但是目前只展示了一个, 需要定位处理下
The text was updated successfully, but these errors were encountered: