translateCascadeRelationFilterMaker中的小笔误

This commit is contained in:
Xu Chang 2023-03-06 17:01:17 +08:00
parent ef8a6428af
commit 912e68047a
3 changed files with 708 additions and 708 deletions

View File

@ -359,7 +359,7 @@ function translateCascadeRelationFilterMaker(schema, lch, entity2, pathPrefix) {
var getForeignKeyId_1 = function (d) { var getForeignKeyId_1 = function (d) {
if (relation === 2) { if (relation === 2) {
if (d.entity === attr && typeof d.entityId === 'string') { if (d.entity === attr && typeof d.entityId === 'string') {
return d.entitId; return d.entityId;
} }
throw new Exception_1.OakUserUnpermittedException(); throw new Exception_1.OakUserUnpermittedException();
} }

File diff suppressed because it is too large Load Diff

View File

@ -335,7 +335,7 @@ function translateCascadeRelationFilterMaker<ED extends EntityDict & BaseEntityD
const getForeignKeyId = (d: ED[keyof ED]['CreateSingle']['data']) => { const getForeignKeyId = (d: ED[keyof ED]['CreateSingle']['data']) => {
if (relation === 2) { if (relation === 2) {
if (d.entity === attr && typeof d.entityId === 'string') { if (d.entity === attr && typeof d.entityId === 'string') {
return d.entitId as string; return d.entityId as string;
} }
throw new OakUserUnpermittedException(); throw new OakUserUnpermittedException();
} }