Mybatis实现批处理存储


		insert into HistoryAlarmInfo (historyID, hnbID, hnbName, serialNumber,
		locationPathNo,
		distancetoPathAccess, alarmSeqId, alarmRaisedTime,
		alarmClearedTime, managedObjectInstance,
		alarmType,
		probableCause,
		alarmID, perceivedSeverity, additionalText, additionalInformation,
		clearedManner) values
		
			(#{item.historyID}, #{item.hnbID}, #{item.hnbName},
			#{item.serialNumber}, #{item.locationPathNo},
			#{item.distancetoPathAccess}, #{item.alarmSeqId},
			#{item.alarmRaisedTime},
			#{item.alarmClearedTime},
			#{item.managedObjectInstance}, #{item.alarmType},
			#{item.probableCause}, #{item.alarmID}, #{item.perceivedSeverity},
			#{item.additionalText}, #{item.additionalInformation},
			#{item.clearedManner})
		
	

 

你可能感兴趣的:(Mybatis)