refactor(pop): update popProductionController and routes

- Changed the `copyChecklistToSplit` function to be exported for better accessibility.
- Temporarily commented out the `getProcessList` and `getProcessResult` routes in `popProductionRoutes` due to missing implementations, with a note for future restoration.
- Updated the loop in `salesOrderBulkService` to use `Array.from()` for better clarity in iterating over entries.

These changes aim to improve code organization and maintainability while addressing current implementation gaps.
This commit is contained in:
kjs
2026-04-24 18:23:32 +09:00
parent 3d339f4846
commit 5518288f18
3 changed files with 6 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ async function upsertInventoryStock(
*
* 전략: routingDetailId가 있으면 원본 템플릿에서, 없으면 마스터의 기존 결과에서 복사
*/
async function copyChecklistToSplit(
export async function copyChecklistToSplit(
client: { query: (text: string, values?: any[]) => Promise<any> },
masterProcessId: string,
newProcessId: string,