Project

General

Profile

Actions

New #6484

open

Problemy

Added by Sebastian Citko about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Start date:
12/04/2024
Due date:
% Done:

0%

Estimated time:
Sprint:

Description

query = f"""select h.harmonogram_id_pkey, hd.fill_database_logs[array_length(hd.fill_database_logs, 1)] AS fill_end
from kombajn.harmonogram h
left join kombajn.harmonogram_details hd on h.harmonogram_id_pkey = hd.harmonogram_id_fkey
where h.ship_id_fkey = (select ship_id_fkey
from kombajn.devices
where device_pkey = {device_id})
"""
dlaczego tutaj bierze fill database? i pozniej porównuje do daty wysłania:
for rc, row_series in df.iterrows():
if row_series.fill_end > meas_date:
return row_series.harmonogram_id_pkey
jak pojawi się fill_database to zawsze bedzie wieksza data meas_date bot to jest data wysłki jakby z logbooka?
kombajn_db_api QRGenerator.py linia ~139

Actions #1

Updated by Sebastian Citko about 1 year ago

  • Description updated (diff)
Actions

Also available in: Atom PDF