diff --git a/aucma-dms/src/main/resources/mapper/dms/DmsBillsMaintInstanceMapper.xml b/aucma-dms/src/main/resources/mapper/dms/DmsBillsMaintInstanceMapper.xml
index 218f360..5b3fca6 100644
--- a/aucma-dms/src/main/resources/mapper/dms/DmsBillsMaintInstanceMapper.xml
+++ b/aucma-dms/src/main/resources/mapper/dms/DmsBillsMaintInstanceMapper.xml
@@ -165,38 +165,50 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- insert 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
-
- ( HAIWEI.SEQ_DMS_MAINT_DETAIL.NEXTVAL,
- #{item.maintInstanceId,jdbcType=NUMERIC},
- #{item.deviceId,jdbcType=NUMERIC},
- #{item.stationId,jdbcType=NUMERIC},
- #{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})
+ insert all
+
+ 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 (
+ HAIWEI.SEQ_DMS_MAINT_DETAIL.NEXTVAL,
+ #{item.maintInstanceId,jdbcType=NUMERIC},
+ #{item.deviceId,jdbcType=NUMERIC},
+ #{item.stationId,jdbcType=NUMERIC},
+ #{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}
+ )
+ select 1 from dual
- insert into dms_bills_maint_detail_project( maint_detail_project_id, bills_maint_detail_id, maint_project_id, maint_project_name, maint_project_desc, maint_project_status, remark, create_by, create_time, update_by, update_time) values
-
- ( HAIWEI.SEQ_DMS_MAINT_DTL_PROJ.NEXTVAL,
- #{item.billsMaintDetailId,jdbcType=NUMERIC},
- #{item.maintProjectId,jdbcType=NUMERIC},
- #{item.maintProjectName,jdbcType=VARCHAR},
- #{item.maintProjectDesc,jdbcType=VARCHAR},
- #{item.maintProjectStatus,jdbcType=VARCHAR},
- #{item.remark,jdbcType=VARCHAR},
- #{item.createBy,jdbcType=NUMERIC},
- #{item.createTime,jdbcType=TIMESTAMP},
- #{item.updateBy,jdbcType=NUMERIC},
- #{item.updateTime,jdbcType=TIMESTAMP})
+ insert all
+
+ into dms_bills_maint_detail_project(
+ maint_detail_project_id, bills_maint_detail_id, maint_project_id, maint_project_name,
+ maint_project_desc, maint_project_status, remark, create_by, create_time, update_by, update_time
+ ) values (
+ HAIWEI.SEQ_DMS_MAINT_DTL_PROJ.NEXTVAL,
+ #{item.billsMaintDetailId,jdbcType=NUMERIC},
+ #{item.maintProjectId,jdbcType=NUMERIC},
+ #{item.maintProjectName,jdbcType=VARCHAR},
+ #{item.maintProjectDesc,jdbcType=VARCHAR},
+ #{item.maintProjectStatus,jdbcType=VARCHAR},
+ #{item.remark,jdbcType=VARCHAR},
+ #{item.createBy,jdbcType=NUMERIC},
+ #{item.createTime,jdbcType=TIMESTAMP},
+ #{item.updateBy,jdbcType=NUMERIC},
+ #{item.updateTime,jdbcType=TIMESTAMP}
+ )
+ select 1 from dual