博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
zencart批量设置热卖商品 best seller、点击最高最受欢迎产品 most popular
阅读量:7117 次
发布时间:2019-06-28

本文共 519 字,大约阅读时间需要 1 分钟。

zencart批量设置某分类下热卖商品数 best seller

update products set products_ordered=products_ordered+10 where master_categories_id=1;update products set products_ordered=products_ordered+10 where master_categories_id in (111,222,333,44,555,666);

 zencart批量设置某产品点击最高最受欢迎产品 most popular

update products_description set products_viewed=products_viewed+10 where products_id=1;update products_description set products_viewed=products_viewed+10 where products_id in (111,222,333,44,555,666);

 

转载于:https://www.cnblogs.com/afish/p/3972591.html

你可能感兴趣的文章
细说分布式数据库的过去、现在与未来
查看>>
在Linux中使用LVM构建灵活的磁盘存储(第一部分)
查看>>
《21天学通C++(第7版)》——17.1 std::vector的特点
查看>>
《HTML5完美游戏开发》——第1章 Open Web Game王国
查看>>
JDBC案例演示,供参考
查看>>
android守护进程
查看>>
设计模式之适配器模式(adaptor pattern)
查看>>
《C++语言基础》实践项目——链表类及其应用
查看>>
【Spark Summit East 2017】Intel与Spark共同助推机器学习与深度学习
查看>>
阿里王坚:数据大航海时代为什么中国人可能是第一个出海互联网的?
查看>>
MongoDB 远程连接
查看>>
云数据库·ApsaraDB 产品8月刊
查看>>
新世纪版五笔字根背诵
查看>>
第十八章_SSL证书
查看>>
仿百度壁纸客户端(五)——实现搜索动画GestureDetector手势识别,动态更新搜索关键字...
查看>>
【原创】Erlang 之 debugger 调试简介
查看>>
昂贵的付费学习时代,云栖为什么会做面向开发者的纯公益?
查看>>
如何通过备份文件恢复SQL Server数据库
查看>>
Linux堆内存管理深入分析 (下)
查看>>
暂停、恢复CALayer 动画
查看>>