Merge remote-tracking branch 'upstream/main'
This commit is contained in:
19
backend-node/src/routes/shippingPlanRoutes.ts
Normal file
19
backend-node/src/routes/shippingPlanRoutes.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* 출하계획 라우트
|
||||
*/
|
||||
|
||||
import { Router } from "express";
|
||||
import { authenticateToken } from "../middleware/authMiddleware";
|
||||
import * as shippingPlanController from "../controllers/shippingPlanController";
|
||||
|
||||
const router = Router();
|
||||
|
||||
router.use(authenticateToken);
|
||||
|
||||
// 품목별 집계 + 기존 출하계획 조회
|
||||
router.get("/aggregate", shippingPlanController.getAggregate);
|
||||
|
||||
// 출하계획 일괄 저장
|
||||
router.post("/batch", shippingPlanController.batchSave);
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user