mapper.xml里面的if问题
<!-- 主键查询 -->
<select id="selectByPrimaryKey" resultClass="userInfo" parameterClass="userInfo">
SELECT
<include refid="userInfo_Column_List"/>
FROM user_info
WHERE login_name = #login_name#
<if test=' isAreaVersion== "1" '>
<isNotEmpty prepend="and" property="outhosid"> <!-- 登录时的医院ID -->
hosid=#outhosid#
</isNotEmpty>
</if>
错误信息:
The content of element type "select" must match "(include|dynamic|iterate|isParameterPresent|
isNotParameterPresent|isEmpty|isNotEmpty|isNotNull|isNull|isNotEqual|isEqual|isGreaterThan|
isGreaterEqual|isLessThan|isLessEqual|isPropertyAvailable|isNotPropertyAvailable)".