ECshop系统后台销售提成出现下面错误提示是怎么回事?
MySQLservererrorreport:Array([0]=>Array([message]=>MySQLQueryError)[1]=>Array([sql]=>...
MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT o.order_id, o.order_sn, o.add_time,
o.order_status, o.shipping_status, o.order_amount,
o.money_paid,o.pay_status, o.consignee, o.address, o.email, o.tel,
o.extension_code, o.extension_id, ( o.goods_amount + o.tax +
o.shipping_fee + o.insure_fee + o.pay_fee + o.pack_fee + o.card_fee ) AS
total_fee, IFNULL(u.user_name, '匿名用户') AS buyer FROM
`songbaoj_shop`.`ecs_order_info` AS o LEFT JOIN
`songbaoj_shop`.`ecs_users` AS u ON u.user_id=o.user_id WHERE 1 and
o.pay_status=2 and u.user_rank= ORDER BY add_time DESC LIMIT 0,15
)
[2] => Array
(
[error] => You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to use near 'ORDER BY add_time DESC LIMIT 0,15' at line 1
)
[3] => Array
(
[errno] => 1064
)
) 展开
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT o.order_id, o.order_sn, o.add_time,
o.order_status, o.shipping_status, o.order_amount,
o.money_paid,o.pay_status, o.consignee, o.address, o.email, o.tel,
o.extension_code, o.extension_id, ( o.goods_amount + o.tax +
o.shipping_fee + o.insure_fee + o.pay_fee + o.pack_fee + o.card_fee ) AS
total_fee, IFNULL(u.user_name, '匿名用户') AS buyer FROM
`songbaoj_shop`.`ecs_order_info` AS o LEFT JOIN
`songbaoj_shop`.`ecs_users` AS u ON u.user_id=o.user_id WHERE 1 and
o.pay_status=2 and u.user_rank= ORDER BY add_time DESC LIMIT 0,15
)
[2] => Array
(
[error] => You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to use near 'ORDER BY add_time DESC LIMIT 0,15' at line 1
)
[3] => Array
(
[errno] => 1064
)
) 展开
面向科技
2024-12-04 广告
2024-12-04 广告
数据清洗、对账及分析是数据处理的关键环节。数据清洗指对原始数据进行预处理,包括去除重复、纠正错误、填补缺失值等,以确保数据质量。对账则是将不同来源的数据进行比对,核实数据的一致性,常用于财务、库存管理等领域的核对工作。分析则基于清洗后的数据...
点击进入详情页
本回答由面向科技提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询