delete from ${tableName} where mainid = #{id}