方维团购系统二次开发,s_order_incharge_handle()函数分析

 

方维团购系统 ,s_order_incharge_handle()函数分析;

 

select a.data_total_referral_money as referral_money, b.id, b.buy_count, b.user_count, b.type_id, b.is_first_referral, b.close_referrals, b.referrals, b.city_id, a.data_total_score as score, b.goods_short_name from ".DB_PREFIX."order_goods a ".
"left outer join ".DB_PREFIX."goods b on b.id = a.rec_id where a.order_id =66

referral_moneyidbuy_countuser_counttype_idis_first_referralclose_referralsreferralscity_idscoregoods_short_name
0.00008873000010梵雅葡萄酒品尝套餐
0.00008873000010梵雅葡萄酒品尝套餐
0.00008762100010

 

执行完上面之后,开始循序goods_list ;

**************************************************

select sum(og.number) as number from fanwe_order as o left join fanwe_order_goods  as og on og.order_id = o.id where og.rec_id = 88 and (o.money_status = 2 or o.goods_status=2)

number
7

 

$goods['buy_count'] = 7

**************************************************

 

 

打印order_vo

 

posted on 2013-06-22 07:44 方维二次开发 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/wangtongphp/p/3149251.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值