update io_unit_maintain_platform unitId = #{unitId}, customerId = #{customerId}, platformId = #{platformId}, sourceAction = #{sourceAction}, targetAction = #{targetAction}, invCode = #{invCode}, invSubCode = #{invSubCode}, appid = #{appid}, apiKey = #{apiKey}, secretKey = #{secretKey}, invName = #{invName}, invSubName = #{invSubName}, targetName = #{targetName} where id = #{id} insert into io_unit_maintain_platform (unitId, customerId, platformId, sourceAction, targetAction, invCode, invSubCode, appid, apiKey, secretKey, invName, invSubName, targetName) VALUES (#{unitId}, #{customerId}, #{platformId}, #{sourceAction}, #{targetAction}, #{invCode}, #{invSubCode}, #{appid}, #{apiKey}, #{secretKey}, #{invName}, #{invSubName}, #{targetName}) delete from io_unit_maintain_platform where id = #{id}