feat: 积分商城-供应商
This commit is contained in:
@@ -11,5 +11,13 @@ export const supplierDao = {
|
||||
return prisma.supplierInfo.findFirst({
|
||||
where: { supplierId, deleted: 0 }
|
||||
})
|
||||
},
|
||||
|
||||
findActiveSuppliers() {
|
||||
return prisma.supplierInfo.findMany({
|
||||
where: { deleted: 0 },
|
||||
select: { supplierId: true, supplierName: true },
|
||||
orderBy: { supplierName: 'asc' }
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user