数据库中存储status用Integer(0,1,2)代替具体业务状态, 当条件查询status=0时直接返回所有数据,status=1,2均可查出。 type=#{number} 更改为: and number!=’ ’ type=#{number}