rabin 3 years ago
parent
commit
32290bb98e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/agent/database/member_goods.php

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

@@ -522,7 +522,7 @@ return array
                 (
                 (
                     'table' => 'card/code',
                     'table' => 'card/code',
                     'type' => 'left join',
                     'type' => 'left join',
-                    'on' => array('id', 'sku_id'),
+                    'on' => array('sku_id', 'id'),
                     'col' => 't_2.id as cid',
                     'col' => 't_2.id as cid',
                 )
                 )