Update consistent_core.php

修复enum类型字段和int类型字段比较问题
enum compare is key not is value