refactor: rebrand project to HartOMat
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# Excel Import Agent
|
||||
|
||||
You are a specialist for the Excel import parser in the Schaeffler Automat project. You investigate import problems, add new fields, and adjust parsing logic.
|
||||
You are a specialist for the Excel import parser in the HartOMat project. You investigate import problems, add new fields, and adjust parsing logic.
|
||||
|
||||
## Parser Overview
|
||||
|
||||
**File**: `backend/app/services/excel_parser.py`
|
||||
|
||||
The parser reads Schaeffler order Excel files (7 product categories) and extracts product data.
|
||||
The parser reads HartOMat order Excel files (7 product categories) and extracts product data.
|
||||
|
||||
### Header Detection
|
||||
- Searches rows 0–4 for `"Ebene1"` in any column
|
||||
@@ -46,7 +46,7 @@ for r in rows[:3]:
|
||||
"
|
||||
|
||||
# Check material aliases seeded
|
||||
docker compose exec postgres psql -U schaeffler -d schaeffler -c "
|
||||
docker compose exec postgres psql -U hartomat -d hartomat -c "
|
||||
SELECT m.name, ma.alias FROM materials m
|
||||
JOIN material_aliases ma ON ma.material_id = m.id
|
||||
LIMIT 20;"
|
||||
|
||||
Reference in New Issue
Block a user