mybatis 中if關於數字的判斷

mybatis 中關於數字的判斷,若是直接寫<if test = "xx == '1' "> </if>,這樣即便是xx==‘1’,一般狀況下也不會進入判斷的。必須以下寫:mybatis <select id="getByNameAndPwd" parameterType="String" resultMap="MemberResult"> select *
相關文章
相關標籤/搜索