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;
|
attrIsUpdate: boolean;
|
||||||
attrIsDelete: boolean;
|
attrIsDelete: boolean;
|
||||||
attrPrivilege: string;
|
attrPrivilege: string;
|
||||||
parentNode: string;
|
// parentNode: string;
|
||||||
}>;
|
}>;
|
||||||
},
|
},
|
||||||
) {
|
) {
|
||||||
|
|
@ -102,7 +102,7 @@ export class AuthRoleController extends Controller {
|
||||||
attrOwnership: attr.attrOwnership.toUpperCase(),
|
attrOwnership: attr.attrOwnership.toUpperCase(),
|
||||||
attrPrivilege: attr.attrPrivilege.toUpperCase(),
|
attrPrivilege: attr.attrPrivilege.toUpperCase(),
|
||||||
authSysId: attr.authSysId.toUpperCase(),
|
authSysId: attr.authSysId.toUpperCase(),
|
||||||
parentNode: attr.parentNode.toUpperCase(),
|
// parentNode: attr.parentNode.toUpperCase(),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
Object.assign(record, {
|
Object.assign(record, {
|
||||||
|
|
|
||||||
|
|
@ -75,9 +75,9 @@ export class AuthRoleAttr extends EntityBase {
|
||||||
})
|
})
|
||||||
parentNode?: string | null;
|
parentNode?: string | null;
|
||||||
|
|
||||||
@ManyToOne(() => AuthSys, (authSys) => authSys.authSys)
|
// @ManyToOne(() => AuthSys, (authSys) => authSys.authSys)
|
||||||
@JoinColumn({ name: "authSysId" })
|
// @JoinColumn({ name: "authSysId" })
|
||||||
authRoleAttrForSys: AuthSys;
|
// authRoleAttrForSys: AuthSys;
|
||||||
|
|
||||||
@ManyToOne(() => AuthRole, (authRole) => authRole.authRoles)
|
@ManyToOne(() => AuthRole, (authRole) => authRole.authRoles)
|
||||||
@JoinColumn({ name: "authRoleId" })
|
@JoinColumn({ name: "authRoleId" })
|
||||||
|
|
|
||||||
|
|
@ -58,8 +58,8 @@ export class AuthSys {
|
||||||
})
|
})
|
||||||
sysDescription: string;
|
sysDescription: string;
|
||||||
|
|
||||||
@OneToMany(() => AuthRoleAttr, (authRoleAttr) => authRoleAttr.authRoleAttrForSys)
|
// @OneToMany(() => AuthRoleAttr, (authRoleAttr) => authRoleAttr.authRoleAttrForSys)
|
||||||
authSys: AuthRoleAttr[];
|
// authSys: AuthRoleAttr[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateAuthSys {
|
export class CreateAuthSys {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue