配置如下:
- <select id="getBlackListListTypes" resultClass="java.lang.Integer" parameterClass="java.lang.Integer">
- SELECT distinct(list_type) FROM black_list
- <dynamic prepend="where">
- <isNotEmpty prepend="and" property="appId">
- app_Id = #appId#
- </isNotEmpty>
- </dynamic>
- </select>
报错:
Caused by: com.ibatis.common.beans.ProbeException: There is no READABLE property named 'appId' in class 'java.lang.Integer'
本文转自 tianya23 51CTO博客,原文链接:http://blog.51cto.com/tianya23/841901,如需转载请自行联系原作者