<insert id="batchInsertNoticeUser" useGeneratedKeys="false" keyProperty="id" >
INSERT INTO TAB_NOTICE_USER(ID,PHONE,USER_ID,NOTICE_ID,NOTICE_TYPE,USER_NAME,EMPLOYEE_ID)
select TAB_NOTICE_SEQUENCE.NEXTVAL, A.* FROM (
<foreach collection="employeeList" item="item" index="index" separator="union all">
select
#{item.mobilePhone,jdbcType=VARCHAR},
#{item.userId,jdbcType=VARCHAR},
#{noticeId,jdbcType=BIGINT},
#{noticeType,jdbcType=INTEGER},
#{item.employeeName,jdbcType=VARCHAR},
#{item.employeeId,jdbcType=VARCHAR}
FROM DUAL
</foreach>
) A
</insert>