mybatis報Query was Empty異常

    mybatis中的<foreach>標籤在批處理的時候常常要使用到,而使用<foreach>避免不了的就是要對list進行非空判斷,不然很容易出錯。html    今天我在批量插入時,個人代碼是這樣的mybatis <if test="list!=null and list.size>0> insert into tables values <foreach item="
相關文章
相關標籤/搜索