fix: db_insert_mplogx_batch bug

This commit is contained in:
zty 2024-08-06 17:22:28 +08:00
parent 679165cbd0
commit 91e9ac38f6
1 changed files with 0 additions and 2 deletions

View File

@ -42,8 +42,6 @@ def get_current_and_previous_time():
def db_insert_mplogx_batch(rows):
for row in rows:
_, tag_val, tag_code, tag_update = row
if cache.get("tag_code", None) is None:
continue
insert_mplogx_item(tag_code, tag_val, make_aware(tag_update), {})
@shared_task(base=CustomTask)