springboot+mybatis ,出现多于的参数导致查询数据缺少

在springboot+mybatis 中,经常会有多于的字段遗留在xml文件中,这种情况正常人会以为会判断空和null状态,不影响sql语句,但是实际上会有影响,

 因为在parameter中未定义,是undefined,而不是null和空,导致查询的数据缺失

原文地址:https://www.cnblogs.com/chenlongsheng/p/11251437.html