原文:mybaits错误解决:There is no getter for property named 'id' in class 'java.lang.String

在使用mybaitis传参数的时候,如果仅传入一个类型为String的参数,那么在 xml文件中应该使用 parameter来代替参数名。 lt select id getBookingCount resultType int parameterType string gt select count from TB EMPC BOOKING ORDER T where t.state or t.s ...

2019-06-03 23:30 0 557 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM