|
|
|
|
@ -165,12 +165,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="batchDmsBillsMaintDetail">
|
|
|
|
|
insert all
|
|
|
|
|
<foreach item="item" index="index" collection="list">
|
|
|
|
|
into dms_bills_maint_detail(
|
|
|
|
|
bills_maint_detail_id, maint_instance_id, device_id, station_id, maint_standard_id,
|
|
|
|
|
operation_description, maint_status, is_flag, remark, create_by, create_time, update_by, update_time
|
|
|
|
|
) values (
|
|
|
|
|
insert into dms_bills_maint_detail(
|
|
|
|
|
bills_maint_detail_id, maint_instance_id, machine_id, maint_station_id, maint_standard_id,
|
|
|
|
|
operation_description, maint_status, remark, create_by, create_time, update_by, update_time
|
|
|
|
|
)
|
|
|
|
|
<foreach item="item" index="index" collection="list" separator="union all">
|
|
|
|
|
select
|
|
|
|
|
HAIWEI.SEQ_DMS_MAINT_DETAIL.NEXTVAL,
|
|
|
|
|
#{item.maintInstanceId,jdbcType=NUMERIC},
|
|
|
|
|
#{item.deviceId,jdbcType=NUMERIC},
|
|
|
|
|
@ -178,15 +178,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
#{item.maintStandardId,jdbcType=NUMERIC},
|
|
|
|
|
#{item.operationDescription,jdbcType=VARCHAR},
|
|
|
|
|
#{item.maintStatus,jdbcType=NUMERIC},
|
|
|
|
|
#{item.isFlag,jdbcType=NUMERIC},
|
|
|
|
|
#{item.remark,jdbcType=VARCHAR},
|
|
|
|
|
#{item.createBy,jdbcType=NUMERIC},
|
|
|
|
|
#{item.createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
#{item.updateBy,jdbcType=NUMERIC},
|
|
|
|
|
#{item.updateTime,jdbcType=TIMESTAMP}
|
|
|
|
|
)
|
|
|
|
|
from dual
|
|
|
|
|
</foreach>
|
|
|
|
|
select 1 from dual
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="batchDmsProject">
|
|
|
|
|
insert all
|
|
|
|
|
|