update channel set report_routine_url = #{reportRoutineUrl} where id = #{id}
insert into channel (name, mobile,province,city,templateId)
values (#{name,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{templateId,jdbcType=INTEGER}
)
update channel
name=#{name},
mobile=#{mobile},
province=#{province},
city=#{city},
templateId=#{templateId},
where id = #{id}
update channel set state=0 where id = #{id}
update channel_product set state=0 where channelId = #{id}
insert into log (mobile,operation)
values (#{mobile,jdbcType=VARCHAR}, #{operation,jdbcType=VARCHAR}
)
insert into access_token (access_token)
values (#{accessToken,jdbcType=VARCHAR}
)
delete access_token