210 Commits (9cda4512c46acad0c83181d86dc8062de610d66c)

Author SHA1 Message Date
MrWaradana 9cda4512c4 fix update equipment recalculation error 1 month ago
MrWaradana 82120c26f4 remove debug print 1 month ago
MrWaradana 1f38f1a80f feat: Standardize equipment API responses to `EquipmentDataMaster` and optimize LCC calculations by pre-fetching parameters and including new material cost fields. 1 month ago
MrWaradana b72e1ec51d feat: Implement `/simulate-all` endpoint to run predictions and EAC for all equipment, and refine `is_actual` determination logic. 1 month ago
MrWaradana ab54c61416 remove raise exception 1 month ago
MrWaradana c35ec7df6b fix items_per_page params 1 month ago
Cizz22 7cad6cc8c4 add validation 1 month ago
CIzz22 bbfa010b39 Update middleware code in main.py 2 months ago
CIzz22 da2ce29c45 add middleware 2 months ago
MrWaradana 0087f66367 fix import credentials 2 months ago
MrWaradana 2aae6bc073 add the missing import 2 months ago
MrWaradana b90202214b fix config env credentials 2 months ago
MrWaradana 63110dd412 fix env missing 2 months ago
MrWaradana 022d2d0fc7 fix env import lookup 2 months ago
MrWaradana eba0d1565f fix src import 2 months ago
MrWaradana 9df47dfbfb fix import config 2 months ago
MrWaradana 44a154c38d fix dynamic env database hostname and port 2 months ago
MrWaradana e3963ff5f2 feat: Add field validator to convert empty strings to None for specific numeric fields. 2 months ago
MrWaradana 25288d18f5 refactor: improve EAC calculation output clarity and adjust Yeardata query year sorting from descending to ascending. 2 months ago
ariwahyunahar 619969987a Perubahan run2.py -> proyeksi sf dan auxelary sesuai rumus pak Stefy 2 months ago
ariwahyunahar 3e7543d3ad Perubahan run2.py -> proyeksi sf dan auxelary sesuai rumus pak Stefy 2 months ago
MrWaradana 020dd2254b fix count remaining life 2 months ago
MrWaradana 13a0273b75 refactor: rename `get_count_remaining_life` to `get_count_remaining_life_equipment` for clarity. 2 months ago
MrWaradana 04bba31670 feat: Add equipment remaining life count API, refine actual data insertion logging, and enhance prediction data fetching. 2 months ago
MrWaradana bd6efc2a3a feat: Add `get_where_query_sql_labour_cost` to filter out 'T' wonums and update `get_yearly_labour_cost_total_by_worktype` to use it. 2 months ago
MrWaradana 04b7977c78 update run plant simulation 2 months ago
MrWaradana 9245669487 add all worktype includes 2 months ago
MrWaradana b1da29c7e6 remove where worktype cm proactive em 2 months ago
ariwahyunahar d60c8bc511 Perubahan run2.py -> value EaF dan CF dari input, kecuali tahun prediksi ambil dari master 2 months ago
MrWaradana a9304328d4 fix id changes every fetch because of delete is_actual = 0 2 months ago
MrWaradana f0abadf932 fix id fetch changes 2 months ago
MrWaradana a2da393c54 feat: Introduce linear forecasting for SFC and auxiliary parameters and refine actual energy sales calculation. 2 months ago
ariwahyunahar 911254db11 Perubahan run2.py -> mengakomodir SFC & Aux power, serta perbaikan beberapa 2 months ago
MrWaradana 90f00af864 refactor: simplify worktype filter to always include CM, PROACTIVE, and EM. 2 months ago
MrWaradana fe4317b1b6 refactor: Remove wonum exclusion and add worktype CASE statement to equipment queries. 2 months ago
MrWaradana e6ceb1a3e6 fix query fetch rbd 2 months ago
MrWaradana 1d786b30bf feat: add status filter for completed and closed work orders to equipment queries 2 months ago
MrWaradana 835224a854 fix the simulation tables used 2 months ago
MrWaradana 37a67c2fd2 feat: Make `equipment_master` field optional in `EquipmentDataMaster` schema. 2 months ago
MrWaradana 74ff4007e3 fix the join to outerjoin for get admin equipment data 2 months ago
MrWaradana 509395c973 remove min_eac_info 2 months ago
MrWaradana ee72a71fe4 fix plant calc 2 months ago
MrWaradana b6d9f147f3 update plant calculation 2 months ago
ariwahyunahar 16faf36de4 plant/run2.py -> perbaikan rumus pengambilan 3 rata2 data terakhir, menjadi 3 terakhir sebelumnya -> last_3_eaf = eaf_history[-3:] 2 months ago
ariwahyunahar d41899dcb5 plant/run2.py -> perubahan rumus pengambilan 3 rata2 data terakhir, menjadi 3 terakhir sebelumnya -> last_3_eaf = eaf_history[-4:-1] 2 months ago
MrWaradana 4cbf968688 remove fs from plant tr data 2 months ago
MrWaradana d84bd0f6ef feat: Introduce chart data retrieval with Break-Even Point calculation and update transaction ID type to UUID. 2 months ago
MrWaradana 55e41abaa3 fix condition asset criticality 2 months ago
MrWaradana 36fda3e73e fix where query sql 2 months ago
MrWaradana ad224c7ecc refactor select for displaying maximo record 2 months ago