fix
This commit is contained in:
parent
7bb199d254
commit
e60d47e9f0
3 changed files with 7 additions and 7 deletions
|
|
@ -90,7 +90,7 @@ export class AuthRoleController extends Controller {
|
|||
attrIsUpdate: boolean;
|
||||
attrIsDelete: boolean;
|
||||
attrPrivilege: string;
|
||||
parentNode: string;
|
||||
// parentNode: string;
|
||||
}>;
|
||||
},
|
||||
) {
|
||||
|
|
@ -102,7 +102,7 @@ export class AuthRoleController extends Controller {
|
|||
attrOwnership: attr.attrOwnership.toUpperCase(),
|
||||
attrPrivilege: attr.attrPrivilege.toUpperCase(),
|
||||
authSysId: attr.authSysId.toUpperCase(),
|
||||
parentNode: attr.parentNode.toUpperCase(),
|
||||
// parentNode: attr.parentNode.toUpperCase(),
|
||||
}));
|
||||
|
||||
Object.assign(record, {
|
||||
|
|
|
|||
|
|
@ -75,9 +75,9 @@ export class AuthRoleAttr extends EntityBase {
|
|||
})
|
||||
parentNode?: string | null;
|
||||
|
||||
@ManyToOne(() => AuthSys, (authSys) => authSys.authSys)
|
||||
@JoinColumn({ name: "authSysId" })
|
||||
authRoleAttrForSys: AuthSys;
|
||||
// @ManyToOne(() => AuthSys, (authSys) => authSys.authSys)
|
||||
// @JoinColumn({ name: "authSysId" })
|
||||
// authRoleAttrForSys: AuthSys;
|
||||
|
||||
@ManyToOne(() => AuthRole, (authRole) => authRole.authRoles)
|
||||
@JoinColumn({ name: "authRoleId" })
|
||||
|
|
|
|||
|
|
@ -58,8 +58,8 @@ export class AuthSys {
|
|||
})
|
||||
sysDescription: string;
|
||||
|
||||
@OneToMany(() => AuthRoleAttr, (authRoleAttr) => authRoleAttr.authRoleAttrForSys)
|
||||
authSys: AuthRoleAttr[];
|
||||
// @OneToMany(() => AuthRoleAttr, (authRoleAttr) => authRoleAttr.authRoleAttrForSys)
|
||||
// authSys: AuthRoleAttr[];
|
||||
}
|
||||
|
||||
export class CreateAuthSys {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue