mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
bugfix
This commit is contained in:
@@ -33,6 +33,11 @@ public class OrgCommonEntity extends CommonEntity {
|
||||
|
||||
@Override
|
||||
public void preUpdate() {
|
||||
if (StringUtils.isEmpty(organizationId)) {
|
||||
|
||||
this.organizationId =
|
||||
Ctx.isLoggedIn() ? Ctx.currentUser().getOrganizationId() : organizationId;
|
||||
}
|
||||
super.preUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user