Обновить dags/split_subkonto2.py

This commit is contained in:
bn_user 2025-09-10 07:12:57 +00:00
parent 6d2ab0d6f0
commit df6d31169f
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ def split_subkonto_from_1C(**kwargs):
""", engine)
if df.empty:
return pd.DataFrame(columns=['schet, subkonto2', 'naimenovanie', 'nomer', 'date_begin', 'date_end']).to_dict(orient='records')
result_df = df['subkonto2'].apply(parse_contract_cell)
result_df = df.merge(df['subkonto2'].apply(parse_contract_cell), how='left', on='subkonto2')
return result_df.to_dict(orient='records')
def merge_dict_and_split_1C(**kwargs):