Skip to content

Commit 22f1496

Browse files
committed
chore: update
1 parent 30a6cdb commit 22f1496

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

com/lc/demo/pythonReportDemo/reportDailyKingDemo/python_report_daily_app_king4_with_mid_dh.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,9 @@ def del_scada_report_daily(srd_org_id, srd_id):
331331

332332
# 获取所有需要跑脚本的机构信息
333333
# 字段:ORG_REPORT_GENERATE 是否计算生成报表:0不生成,1生成
334+
# 这是夜间跑 日报表 ORG_REPORT_GENERATE_DAY 是否计算日报表:0不生成,1夜间生成,2白天生成
334335
def get_all_org_id_for_run_py_command_script_from_select_db():
335-
sql = "select * from ORGANIZATION where ORG_REPORT_GENERATE= :org_report_generate order by ORG_ID desc"
336+
sql = "select * from ORGANIZATION where ORG_REPORT_GENERATE_DAY= :org_report_generate order by ORG_ID desc"
336337
data = [{"org_report_generate": "1"}]
337338
fc = db.select_by_where_many_params_dict(sql, data)
338339
return fc

0 commit comments

Comments
 (0)