Files
chill_notes/工作记录/传感器/关于偶发数据不过滤的临时解决方法.md
2026-04-16 00:28:41 +08:00

18 lines
796 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1、如果采集程序正常采集而出现前端看不到最新数据。可能是原程序出现过滤bug。
2、打开数据库执行下列sql语句 查看雨量过滤表的数据情况。如果数据不齐全,就确认为数据过滤问题。
SELECT *
```sql
FROM [ZHDMTProj].[dbo].[YLJ_clean] where Style>0
```
order by aDatetime desc
3、停止SG采集程序暂停数据入库。
4、找到开始缺失的过滤时间点。 执行下列语句删除影响程序运行的历史数据。用缺失时间点替换下面的2018-07-01 23:59:59.000
```sql
delete FROM [ZHDMTProj].[dbo].[YLJ_clean]
where aDatetime>'2018-07-01 23:59:59.000'
```
5、重启SG采集程序1分钟以内就可以完成重新过滤审核任务。
6、打开网站验证数据是否正常展示。