zoukankan      html  css  js  c++  java
  • 方维团购系统二次开发,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_money id buy_count user_count type_id is_first_referral close_referrals referrals city_id score goods_short_name
    0.0000 88 7 3 0 0 0 0 1 0 梵雅葡萄酒品尝套餐
    0.0000 88 7 3 0 0 0 0 1 0 梵雅葡萄酒品尝套餐
    0.0000 87 6 2 1 0 0 0 1 0

    执行完上面之后,开始循序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

  • 相关阅读:
    MySQl查询语句大全
    并发编程三
    并发编程二
    并发编程
    网络编程
    面向对象高级进阶
    python中的面向对象和面向过程
    为什么还需要学习TypeScript
    Chrome 神器,神奇的技巧
    vue-property-decorator知识梳理
  • 原文地址:https://www.cnblogs.com/wangtongphp/p/3149251.html
Copyright © 2011-2022 走看看