select calarmId, calarmType, calarmName, calarmCloudresurl, calarmCreateddate, calarmCreator, calamRemark,tid from FmsCalarm insert into FmsCalarm calarmId, calarmType, calarmName, calarmCloudresurl, calarmCreateddate, calarmCreator, calamRemark, tid, #{calarmId}, #{calarmType}, #{calarmName}, #{calarmCloudresurl}, #{calarmCreateddate}, #{calarmCreator}, #{calamRemark}, #{tid}, update FmsCalarm calarmType = #{calarmType}, calarmName = #{calarmName}, calarmCloudresurl = #{calarmCloudresurl}, calarmCreateddate = #{calarmCreateddate}, calarmCreator = #{calarmCreator}, calamRemark = #{calamRemark}, tid = #{tid}, calarmId = #{calarmId} and tid = #{tid} delete from FmsCalarm where calarmId = #{calarmId} and tid = #{tid} delete from FmsCalarm calarmId in #{calarmId} and tid = #{tid}