|
|
|
@ -119,7 +119,7 @@ async def simulate_equipment(db_session: DbSession, assetnum: str):
|
|
|
|
"/count-remaining-life",
|
|
|
|
"/count-remaining-life",
|
|
|
|
response_model=StandardResponse[CountRemainingLifeResponse],
|
|
|
|
response_model=StandardResponse[CountRemainingLifeResponse],
|
|
|
|
)
|
|
|
|
)
|
|
|
|
async def get_count_remaining_life(db_session: DbSession, common: CommonParameters):
|
|
|
|
async def get_count_remaining_life_equipment(db_session: DbSession, common: CommonParameters):
|
|
|
|
count = await get_count_remaining_life(db_session=db_session, common=common)
|
|
|
|
count = await get_count_remaining_life(db_session=db_session, common=common)
|
|
|
|
return StandardResponse(
|
|
|
|
return StandardResponse(
|
|
|
|
data=count,
|
|
|
|
data=count,
|
|
|
|
|