caipin 5 年之前
父节点
当前提交
74b60f9f1f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      protected/model/accountItem.php

+ 1 - 1
protected/model/accountItem.php

@@ -27,7 +27,7 @@ class accountItem extends DooModel {
 	 * 
 	 */
 	function getAccountItem(){
-		$sql = 'select category,count(*) as itemCount
+		$sql = 'select category, count(*) as itemCount
 				from ' . $this->_table . '
 						 GROUP BY category ORDER BY  aid ASC  ';
 		$query = Doo::db ()->query ( $sql );