两道关于question tag 的语法!

问题描述:

两道关于question tag 的语法!
There has been no problem with this case,————————?
The teacher said no student had pass the test ,————————?

1 has there -------简单句,there be结构, be + 引导词there
2 didn't he------- 宾语从句,由主句部分决定 the question tag 部分.为什么第一个和第二个里面都有 no 但是答案却相反呢?主句部分决定 the question tag 部分。