[fix-407] [common] [function] Use "==" to judge whether the values of referenced variables are equal.