/wholesale/index.html
Database Exception – yii\db\Exception
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ws.status' in 'field list'
The SQL being executed was: SELECT COUNT(*) FROM (SELECT ws
.id
, ws
.goods_id
, ws
.status
, g
.goods_name
, g
.default_image
AS goods_image
, g
.price
FROM bh_wholesale
ws
LEFT JOIN bh_goods
g
ON ws
.goods_id
= g
.goods_id
WHERE ((g
.if_show
=1) AND (g
.closed
=0)) AND (g
.store_id
='2') GROUP BY goods_id
ORDER BY id
DESC) c
Error Info: Array
(
[0] => 42S22
[1] => 1054
[2] => Unknown column 'ws.status' in 'field list'
)