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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user