2013年3月8日

ibatis中批量插入(mySql)

摘要: ibatis中insert一个list,不用写for循环一条一条插入。invoiceList就是传入的list,例如:<insertid="insertInvoice"parameterClass="commissionOutCashOrder">< xmlnamespace prefix ="o" ns ="urn:schemas-microsoft-com:office:office" />passport.invoice (outcash_no,invoice_headd,invoic 阅读全文

posted @ 2013-03-08 15:55 JAVA_小c 阅读(600) 评论(0) 推荐(0) 编辑

导航