mysql 查询部分数据的和如何计算;

WBOY
Release: 2016-06-06 20:07:39
Original
1037 people have browsed it

一个和分销商城相关的问题,我的分销商城是用户购买物品后赠送他的上一级相同的物品,我这里是设想每次用户登录的时候都根据订单状态我这里是确认收货后的订单未付,未收的订单直接跳过和用户ID更新用户的个人仓库数据,但是订单比较乱而且商品也不止一个,想问问有没有大神来帮忙研究一下?

回复内容:

一个和分销商城相关的问题,我的分销商城是用户购买物品后赠送他的上一级相同的物品,我这里是设想每次用户登录的时候都根据订单状态我这里是确认收货后的订单未付,未收的订单直接跳过和用户ID更新用户的个人仓库数据,但是订单比较乱而且商品也不止一个,想问问有没有大神来帮忙研究一下?

你的想法是订单完成后赠送,那你为什么不在确认收货完成之后触发你接下来的动作呢

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!