Oracle not in 如果返回的有null值的话,就不会有记录。。

解决办法: 子查询中限制不能游null返回值 is not null

用 not exists 代替 not in