:(

Unknown column 'commentCount' in 'field list' [ SQL语句 ] : SELECT SUM(commentCount) AS tp_sum FROM `eetoday_service` WHERE status=1 LIMIT 1

错误位置

FILE: C:\phpStudy\WWW\finance\ThinkPHP\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (320) trace(Unknown column 'commentCount' in 'field list'
[ SQL语句 ] : SELECT SUM(commentCount) AS tp_sum FROM `eetoday_service` WHERE status=1 LIMIT 1 , , ERR)
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Lib\Core\Db.class.php (739) DbMysql->query(SELECT SUM(commentCount) AS tp_sum FROM `eetoday_service` WHERE status=1 LIMIT 1 )
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Lib\Core\Model.class.php (713) Db->select(Array)
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Lib\Core\Model.class.php (239) Model->getField(SUM(commentCount) AS tp_sum)
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\eetoday\Lib\Action\ServiceAction.class.php (70) Model->__call(sum, Array)
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\eetoday\Lib\Action\ServiceAction.class.php (70) Model->sum(commentCount)
[19-10-17 09:03:10] () ServiceAction->index()
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Lib\Core\App.class.php (169) ReflectionMethod->invoke()
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Lib\Core\App.class.php (205) App::exec()
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\Common\runtime.php (243) Think::start()
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\ThinkPHP\ThinkPHP.php (30) require(C:\phpStudy\WWW\finance\ThinkPHP\Common\runtime.php)
[19-10-17 09:03:10] C:\phpStudy\WWW\finance\index.php (14) require(C:\phpStudy\WWW\finance\ThinkPHP\ThinkPHP.php)