insert into FLOWD_FLUX_OUT (S_NUMBER,S_TIME,S_VALUE,S_SCHEDULE_NAME,S_USER_NAME,S_REACH)
values
(
#{item.sNumber,jdbcType=DOUBLE},
#{item.sTime,jdbcType=DOUBLE},
#{item.sValue,jdbcType=DOUBLE},
#{item.sScheduleName,jdbcType=VARCHAR},
#{item.sUserName,jdbcType=VARCHAR},
#{item.sReach,jdbcType=DOUBLE}
)
insert into FLOWD_FLUX_OUT (S_NUMBER,S_TIME,S_VALUE,S_SCHEDULE_NAME,S_USER_NAME,S_REACH)
(
select
#{item.sNumber,jdbcType=DOUBLE},
#{item.sTime,jdbcType=DOUBLE},
#{item.sValue,jdbcType=DOUBLE},
#{item.sScheduleName,jdbcType=VARCHAR},
#{item.sUserName,jdbcType=VARCHAR},
#{item.sReach,jdbcType=DOUBLE}
from dual
)
这里mysql都可以用,但是因为oracle数据库语法原因,oracle只能使用第二种