上一页 1 ··· 9 10 11 12 13
摘要: 1.对应xml文件<insert id="insert" parameterType="DetectStandard"useGeneratedKeys="true" keyColumn="id" keyProperty="id"> insert into t_detect_standard <tri 阅读全文
posted @ 2016-09-23 10:15 esther-qing 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 1.对应的xml文件:<!--批量添加--><insert id="insertStandardItemInfo" parameterType="hashmap"> insert into t_standard_item(standard_id,item_id) values <foreach co 阅读全文
posted @ 2016-09-23 10:11 esther-qing 阅读(12211) 评论(0) 推荐(0) 编辑
摘要: foreach元素的属性主要有 item,index,collection,open,separator,close。 item表示集合中每一个元素进行迭代时的别名. (直接找到对应的delList集合里面的所有元素,item="item"中的item(后一个)必须与#{item} 中的item一致 阅读全文
posted @ 2016-09-23 10:01 esther-qing 阅读(532) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13