|
|
|
@ -421,8 +421,8 @@ async def get_calculation_by_assetnum(
|
|
|
|
async def create_calculation_result_service(
|
|
|
|
async def create_calculation_result_service(
|
|
|
|
db_session: DbSession, calculation: CalculationData, token: str
|
|
|
|
db_session: DbSession, calculation: CalculationData, token: str
|
|
|
|
) -> CalculationTimeConstrainsRead:
|
|
|
|
) -> CalculationTimeConstrainsRead:
|
|
|
|
start_date = datetime.datetime(2025, 1, 1)
|
|
|
|
start_date = datetime.datetime(2023, 1, 23)
|
|
|
|
end_date = datetime.datetime(2027, 12, 31)
|
|
|
|
end_date = datetime.datetime(2025, 12, 31)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
months_num = get_months_between(start_date, end_date)
|
|
|
|
months_num = get_months_between(start_date, end_date)
|
|
|
|
|