MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT g.goods_id FROM `shop`.`ecmall_goods` AS g WHERE g.goods_id > AND g.is_exchange = 1 AND g.is_delete = 0 LIMIT 1
)
[2] => Array
(
[error] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND g.is_exchange = 1 AND g.is_delete = 0 LIMIT 1' at line 1
)
[3] => Array
(
[errno] => 1064
)
)