ffff

<insert id="insertBatchSelective" parameterType="java.util.List">
   insert into BM_GATHER_REF      
   (ORG_G_CODE,ORG_B_CODE,VALID_START_DATE,VALID_END_DATE,REMARK)
   <foreach collection="list" item="item" index="index" separator="union all"> 
              select #{item.orgGCode},
                     #{item.orgBCode},
                     #{item.validStartDate},
                     #{item.validEndDate},
                     #{item.remark}
              FROM DUAL
           </foreach> 
  </insert>

你可能感兴趣的:(FF)