Files
geedge-jira/md/OMPUB-635.md
2025-09-14 21:52:36 +00:00

49 lines
1.9 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

# 【E21现场】Network Zodiac系统界面22.07版本Asset modelsTSG-9K-NPB展示时显示两次TSG-9140-NPB-FIREWALL
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-635 | 2022-09-21T15:36:44.000+0800 | 方顺健 | 已关闭 |
---
Network Zodiac系统界面22.07版本Asset modelsTSG-9K-NPB展示时显示两次TSG-9140-NPB-FIREWALL目前看到所有的TSG-9K-NPB Asset 都存在这种情况
以10.219.11.2为例2022-08-12 E现场数据并没有出现重复的情况
今天查询结果10.219.11.2  dashboard内容展示显示两次TSG-9140-NPB-FIREWALL图表数据。
详情见附件。**fangshunjian** commented on *2022-09-21T16:57:25.501+0800*:
[~liuju]  暂时通过执行sql 删除重复内容修复待bug修复后更新
ssh 10.224.11.3 执行以下命令
 
{code:java}
mysql -unezha -pNezha@02! -D nz -e "DELETE FROM visual_chart_element WHERE chart_id IN (SELECT id FROM visual_chart vc WHERE vc.group_id IN (SELECT vc.maxId FROM (SELECT panel_id,NAME,count(1) c,max(id) maxId,min(id) minId FROM visual_chart vc WHERE vc.panel_id !=0 AND vc.NAME='TSG-9140-NPB-FIREWALL' GROUP BY panel_id,NAME ORDER BY c DESC) vc WHERE vc.c> 1));DELETE FROM visual_chart WHERE group_id IN (SELECT maxId FROM (SELECT panel_id,NAME,count(1) c,max(id) maxId,min(id) minId FROM visual_chart vc WHERE vc.panel_id !=0 AND vc.NAME='TSG-9140-NPB-FIREWALL' GROUP BY panel_id,NAME ORDER BY c DESC) vc WHERE vc.c> 1);DELETE FROM visual_chart WHERE id IN (SELECT maxId FROM (SELECT panel_id,NAME,count(1) c,max(id) maxId,min(id) minId FROM visual_chart vc WHERE vc.panel_id !=0 AND vc.NAME='TSG-9140-NPB-FIREWALL' GROUP BY panel_id,NAME ORDER BY c DESC) vc WHERE vc.c> 1);" {code}
 
 
---
**liuju** commented on *2022-09-21T19:49:46.220+0800*:
好的,已执行完毕,现在已无重复内容。
---
## Attachments
**31288/微信图片_20220921103450.png**
---