|
|
|
@ -131,7 +131,6 @@ async def get_count_remaining_life_equipment(db_session: DbSession, common: Comm
|
|
|
|
response_model=StandardResponse[EquipmentTop10Pagination],
|
|
|
|
response_model=StandardResponse[EquipmentTop10Pagination],
|
|
|
|
)
|
|
|
|
)
|
|
|
|
async def get_calculated_top_10_replacement_priorities(db_session: DbSession, common: CommonParameters, params: Annotated[CommonParams, Query()]):
|
|
|
|
async def get_calculated_top_10_replacement_priorities(db_session: DbSession, common: CommonParameters, params: Annotated[CommonParams, Query()]):
|
|
|
|
raise Exception(common)
|
|
|
|
|
|
|
|
equipment_data = await get_top_10_replacement_priorities(db_session=db_session, common=common)
|
|
|
|
equipment_data = await get_top_10_replacement_priorities(db_session=db_session, common=common)
|
|
|
|
return StandardResponse(
|
|
|
|
return StandardResponse(
|
|
|
|
data=equipment_data,
|
|
|
|
data=equipment_data,
|
|
|
|
|