<select id="pageQuery" resultType="com.sky.vo.OrderVO">
select * from orders
<where>
<if test="status !=null and status !=''">
status=#{status}
</if>
<if test="number !=null and number !=''">
number=#{number}
</if>
<if test="phone !=null and phone !=''">
phone=#{phone}
</if>
<if test="userId !=null and userId !=''">
user_id=#{userId}
</if>
<if test="beginTime!=null and beginTime!=''">
order_time >= #{beginTime}
</if>
<if test="endTime!=null and endTime!=''">
order_time <= #{endTime}
</if>
</where>
</select>
这段mybatis为什么number是黄色的、<=被解析成了tag
