Skip to content

Commit

Permalink
fix(platform): dao field err
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW committed Nov 13, 2023
1 parent 34041b5 commit cff4edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/server/shared/dao/internal/idl/idl.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (m *MysqlIDLManager) Sync(ctx context.Context, idlModel model.IDL) error {

err = tx.
Where("`parent_idl_id` = ?", idlModel.Id).
Delete(&idlModel).Error
Delete(&entity.MysqlIDL{}).Error
if err != nil {
return err
}
Expand Down

0 comments on commit cff4edd

Please sign in to comment.