|
@@ -126,7 +126,7 @@ export class MenuService {
|
|
|
try {
|
|
try {
|
|
|
const withoutId = await this.mongoPrismaService.sysMenu.findMany({
|
|
const withoutId = await this.mongoPrismaService.sysMenu.findMany({
|
|
|
where: {
|
|
where: {
|
|
|
- mId: null,
|
|
|
|
|
|
|
+ OR: [{ mId: { isSet: false } }, { mId: null }],
|
|
|
},
|
|
},
|
|
|
orderBy: { createTime: 'asc' },
|
|
orderBy: { createTime: 'asc' },
|
|
|
select: { id: true },
|
|
select: { id: true },
|