|
|
@@ -6824,7 +6824,13 @@ class StoreOrderRepository extends BaseRepository
|
|
6824
|
6824
|
|
|
6825
|
6825
|
$yangLao = 0;
|
|
6826
|
6826
|
if ($commission) {
|
|
6827
|
|
- $yangLao = app()->make(ProductRepository::class)->yanglaojin(0, $commission);
|
|
|
6827
|
+ //$yangLao = app()->make(ProductRepository::class)->yanglaojin(0, $commission);//原来的
|
|
|
6828
|
+ //直接在数据表中调用养老金金
|
|
|
6829
|
+ $user_bill_datas = Db::name('user_bill')->where('order_sn',$value['order_sn'])->find();
|
|
|
6830
|
+ if(!empty($user_bill_datas)){
|
|
|
6831
|
+ $yangLao = $user_bill_datas['number'];
|
|
|
6832
|
+ }
|
|
|
6833
|
+ //$yangLao = ;
|
|
6828
|
6834
|
}
|
|
6829
|
6835
|
$value['yanglao'] = $yangLao;
|
|
6830
|
6836
|
} else {
|