xujiayue преди 1 година
родител
ревизия
04f2c5fb98
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      app/routers/jm_job_info.py

+ 1 - 0
app/routers/jm_job_info.py

@@ -64,6 +64,7 @@ def get_jm_job_infos(token_data: schemas.TokenData = Depends(verify_users), db:
         history = history[0:10]
         history.sort(key=lambda x: x['start_time'], reverse=False)
         jm_job_dict.update({'history':history})
+        print(jm_job)
         requirements_status = get_requirements_status_by_job_id(db,jm_job.id)
         jm_job_dict.update({'requirements_status': 0 if requirements_status else 1})
         res_list.append(jm_job_dict)