fix: Improve numbering rule handling and item routing functionality
- Added temporary debug response in `numberingRuleController` for better troubleshooting. - Refactored SQL queries in `NumberingRuleService` to enhance parameter handling and improve clarity. - Updated `ItemInfoPage` to correctly handle manual input values for user-generated codes. - Implemented sorting logic in `ItemRoutingTab` to prioritize default routing versions and added functionality to set a version as default. These changes aim to enhance the reliability and user experience in managing numbering rules and item routing processes.
This commit is contained in:
@@ -323,6 +323,9 @@ router.post(
|
||||
formData,
|
||||
manualInputValue
|
||||
);
|
||||
// TODO: 디버그용 임시 응답 (나중에 제거)
|
||||
const { getPool } = require("../database/db");
|
||||
const dbPool = getPool();
|
||||
return res.json({ success: true, data: { generatedCode: previewCode } });
|
||||
} catch (error: any) {
|
||||
logger.error("코드 미리보기 실패", { error: error.message });
|
||||
|
||||
Reference in New Issue
Block a user