ryan 1 week ago
parent
commit
7669b4a014

+ 3 - 3
backendApi/modules/v1/models/lists/bonus/PeriodBonusList.php

@@ -151,9 +151,9 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
                     'headerOther' => [
                     'headerOther' => [
                         'width' => '120',
                         'width' => '120',
                     ],
                     ],
-                    'value' => function ($row) {
-                        return 0.00;
-                    },
+//                    'value' => function ($row) {
+//                        return 0.00;
+//                    },
                 ],
                 ],
                 'BONUS_PE' => [
                 'BONUS_PE' => [
                     'header' => Yii::t('ctx', 'proEliteBonus'), // Pro_Elite奖金
                     'header' => Yii::t('ctx', 'proEliteBonus'), // Pro_Elite奖金

+ 1 - 1
frontendApi/modules/v1/controllers/BonusController.php

@@ -396,7 +396,7 @@ class BonusController extends BaseController {
                 'IFNULL(SUM(BONUS_WB), 0.00) AS BONUS_WB',
                 'IFNULL(SUM(BONUS_WB), 0.00) AS BONUS_WB',
                 'IFNULL(SUM(BONUS_CAR), 0.00) AS BONUS_CAR',
                 'IFNULL(SUM(BONUS_CAR), 0.00) AS BONUS_CAR',
                 'IFNULL(SUM(BONUS_PB), 0.00) AS BONUS_PB',
                 'IFNULL(SUM(BONUS_PB), 0.00) AS BONUS_PB',
-//                'IFNULL(SUM(BONUS_BB), 0.00) AS BONUS_BB',
+                'IFNULL(SUM(BONUS_BB), 0.00) AS BONUS_BB',
             ])
             ])
             ->asArray()
             ->asArray()
             ->one();
             ->one();