如何过滤数据库中的int类型

开始这里int类型我只写了tinyint,和int,但是int unsigned这些却无法接收,能否写个**int的函数来实现一个int表示多个类型

img