Переглянути джерело

feat: NG-92: [Order List ],Stockist 显示为下单时实际填写的Stockist Code.

kevinElken 1 рік тому
батько
коміт
1460584693
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      backendApi/modules/v1/models/lists/shop/OrderList.php

+ 3 - 0
backendApi/modules/v1/models/lists/shop/OrderList.php

@@ -2,6 +2,7 @@
 namespace backendApi\modules\v1\models\lists\shop;
 namespace backendApi\modules\v1\models\lists\shop;
 
 
 use common\helpers\Cache;
 use common\helpers\Cache;
+use common\helpers\LoggerTool;
 use common\helpers\Tool;
 use common\helpers\Tool;
 use common\helpers\user\Info;
 use common\helpers\user\Info;
 use common\libs\dataList\DataListInterface;
 use common\libs\dataList\DataListInterface;
@@ -73,6 +74,8 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
             'pageSize' => $pagination->pageSize,
             'pageSize' => $pagination->pageSize,
         ];
         ];
 
 
+        LoggerTool::info($this->listData['list']);
+
         foreach ($this->listData['list'] as $key => $value) {
         foreach ($this->listData['list'] as $key => $value) {
             $CREATE_USER_ID = Info::getUserIdByUserName($value['CREATE_USER']);
             $CREATE_USER_ID = Info::getUserIdByUserName($value['CREATE_USER']);
             $this->listData['list'][$key]['DEC_USER_NAME'] = Info::getUserNameByUserId($value['DEC_USER_ID']);
             $this->listData['list'][$key]['DEC_USER_NAME'] = Info::getUserNameByUserId($value['DEC_USER_ID']);