feat(ocp): materials contorls and transfer to next lot logic
This commit is contained in:
@@ -24,6 +24,7 @@ import { deleteLabels } from "../../globalUtils/dbCleanUp/labelCleanUp.js";
|
||||
import bookInLabel from "./routes/labeling/bookIn.js";
|
||||
import labelRatio from "./routes/labeling/getLabelRatio.js";
|
||||
import resetRatio from "./routes/labeling/resetLabelRatio.js";
|
||||
import materialTransferLot from "./routes/materials/lotTransfer.js";
|
||||
|
||||
const app = new OpenAPIHono();
|
||||
|
||||
@@ -47,6 +48,8 @@ const routes = [
|
||||
//dyco
|
||||
dycoCon,
|
||||
dycoClose,
|
||||
// materials
|
||||
materialTransferLot,
|
||||
] as const;
|
||||
const setting = await db.select().from(settings);
|
||||
|
||||
@@ -101,4 +104,5 @@ setInterval(() => {
|
||||
setInterval(() => {
|
||||
updatePrinters();
|
||||
}, 1000 * 60 * 60 * 24);
|
||||
|
||||
export default app;
|
||||
|
||||
Reference in New Issue
Block a user