WuYongJie 5821d73291 初始提交:3D家具安装展示系统
包含:
- furniture-3d-system:Next.js 16 全栈应用(资产中心、产品管理、3D装配动画)
- autocad-plugin:AutoCAD 家具导出插件源码
- 资产中心改造:编辑弹窗化、删除功能、Toast反馈、自定义Select组件

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 14:00:19 +08:00

27 lines
494 B
TypeScript

import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
async function main() {
const product = await prisma.product.findFirst({
where: {
assemblySteps: {
some: {},
},
},
select: {
id: true,
name: true,
modelNumber: true,
modelUrl: true,
thumbnailUrl: true,
},
})
console.log('Product:', JSON.stringify(product, null, 2))
}
main()
.catch(console.error)
.finally(() => prisma.$disconnect())