添加企业岗位归集统计的导出

This commit is contained in:
sh
2026-02-10 17:27:58 +08:00
parent 69c3113fc2
commit a2d17b0a6b
5 changed files with 229 additions and 20 deletions

View File

@@ -12,7 +12,7 @@
job_stats AS (
SELECT COUNT(*) AS 归集岗位合计,sum(case when type='4' then 1 else 0 end) 零工岗位数量,
sum(case when type='4' then COALESCE(vacancies,0) else 0 end) 零工招聘人数 FROM job, time_params tp
WHERE (tp.start_time IS NULL OR posting_date >= tp.start_time)
WHERE del_flag='0' and (tp.start_time IS NULL OR posting_date >= tp.start_time)
AND (tp.end_time IS NULL OR posting_date < tp.end_time)
),
company_stats AS (