fix(sj_1.1.1): Oracle insertBatch 语法错误
This commit is contained in:
parent
71e3595693
commit
c13d3743b4
@ -24,8 +24,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
@ -27,8 +27,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
@ -34,8 +34,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
@ -26,8 +26,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
@ -23,8 +23,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
@ -26,8 +26,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
@ -22,8 +22,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
@ -29,8 +29,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
@ -24,8 +24,10 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="@com.aizuda.snailjob.template.datasource.utils.DbUtils@isOracle()">
|
||||
<foreach collection="list" item="item" open="SELECT" separator="UNION ALL" close="FROM DUAL">
|
||||
<include refid="insertBatch_Column_List" />
|
||||
<foreach collection="list" item="item" separator="UNION ALL">
|
||||
SELECT
|
||||
<include refid="insertBatch_Column_List" />
|
||||
FROM DUAL
|
||||
</foreach>
|
||||
</if>
|
||||
</insert>
|
||||
|
Loading…
Reference in New Issue
Block a user