ibatis只传一个参数进行查询,xml文件需要判空得时候property要怎么写 service层 xml文件: 判空的时候property写"value"就行了,ibatis默认的,取参就直接是传参的名字即可