mybatis多表查詢時,查詢對象查詢爲空

今天在作一個增刪改功能時候,用到了mybatis的accociation 關聯了用戶信息,地區信息,可是一直回顯不成功,發現查詢的用戶信息,地區信息爲空。html mapper中這樣寫的mybatis <select id="getAllDeviceList" resultMap="TbDevice"> select * from <include refid="tb_device"></i
相關文章
相關標籤/搜索