feat(scheduler): 更新定时任务配置以支持中标与招标分别设置阈值

将原先单一的 threshold 配置项拆分为 winningThreshold 和 bidThreshold,
分别用于控制中标公示和招标公告的金额筛选条件。同时调整了默认值及描述信息,
使配置更清晰灵活。

此外,更新了定时任务状态展示逻辑,支持显示两个独立的阈值及其单位转换(万元/亿元)。
当阈值为 0 时显示“不筛选”,提高用户理解度。

配置文件 config.json 中相关字段已同步修改,并调整了时间范围字段 timeRange 的默认值。
```
This commit is contained in:
2025-12-15 21:06:10 +08:00
parent a904137b60
commit f2c856ab05
6 changed files with 1573 additions and 135 deletions

View File

@@ -1,10 +1,11 @@
{
"scheduler": {
"enabled": false,
"enabled": true,
"cronTime": "0 9 * * *",
"threshold": 100000,
"description": "每天9点采集当日大于10亿的项目",
"timeRange": "today"
"winningThreshold": 0,
"bidThreshold": 0,
"description": "每天9点采集当日项目",
"timeRange": "thisMonth"
},
"email": {
"smtpHost": "smtp.qq.com",