ibatis出错There is no READABLE property named 'ids' in class 'java.lang.String'

ibatis只传一个参数进行查询,xml文件需要判空得时候property要怎么写

service层


xml文件:


判空的时候property写"value"就行了,ibatis默认的,取参就直接是传参的名字即可


猜你喜欢

转载自blog.csdn.net/chenbhhh/article/details/80066413