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}
where id = #{id}
insert into io_unit_maintain_platform (unitId, customerId, platformId, sourceAction, targetAction, invCode,
invSubCode, appid, apiKey, secretKey)
VALUES (#{unitId}, #{customerId}, #{platformId}, #{sourceAction}, #{targetAction}, #{invCode}, #{invSubCode},
#{appid}, #{apiKey}, #{secretKey})
delete from io_unit_maintain_platform where id = #{id}