rabin 2 years ago
parent
commit
019fdc0b70
2 changed files with 3 additions and 3 deletions
  1. 1 1
      service/agent/database/member_goods.php
  2. 2 2
      service/bill/database/goods_stat.php

+ 1 - 1
service/agent/database/member_goods.php

@@ -368,7 +368,7 @@ return array
             ),
             'type' => 'all',
             'group' => 'type,type_id,sku_id',
-            'col' => '*,sum(total_num) as total_num, sum(sell_num) as sell_num, sum(cash) as cash',
+            'col' => '*,sum(total_num) as total_num, sum(sell_num) as sell_num, sum(cash) as cash, sum(price) as price',
         ),
 
         # 更新售出量

+ 2 - 2
service/bill/database/goods_stat.php

@@ -77,8 +77,8 @@ return array
             'list_name' => '权益名称',
             //'list'      => 'Dever::load("agent/lib/manage.getGoods#name", "{type}", "{type_id}", "{sku_id}")',
             //'list_order' => 5,
-            'list_name' => '单件价值',
-            'list'      => '{price}',
+            'list_name' => '价值',
+            'list'      => '{cash}',
             'list_order' => 9,
         ),