Test foto server

This commit is contained in:
2024-08-20 14:28:29 +08:00
parent 7deb69513a
commit 5fcf46122d
121 changed files with 1924 additions and 462 deletions

View File

@@ -0,0 +1,15 @@
"use server";
import prisma from "@/app/lib/prisma";
export async function funGlobal_getAllBank() {
const data = await prisma.masterBank.findMany({
orderBy: {
id: "asc",
},
where: {
active: true,
},
});
return data;
}