Index: temp/trunk/html/admin/total/index.php
===================================================================
--- temp/trunk/html/admin/total/index.php	(revision 3626)
+++ temp/trunk/html/admin/total/index.php	(revision 4608)
@@ -548,5 +548,5 @@
 	$objQuery->setGroupBy("order_sex");
 	
-	$tmp_where = $where . " AND customer_id <> 0 AND delete = 0 ";
+	$tmp_where = $where . " AND customer_id <> 0 AND del_flg = 0 ";
 	$arrRet = $objQuery->select($col, $from, $tmp_where, $arrval);
 	
@@ -559,5 +559,5 @@
 	
 	// Èó²ñ°÷½¸·×¤Î¼èÆÀ
-	$tmp_where = $where . " AND customer_id = 0 AND delete = 0 ";
+	$tmp_where = $where . " AND customer_id = 0 AND del_flg = 0 ";
 	$arrRet = $objQuery->select($col, $from, $tmp_where, $arrval);
 	// Èó²ñ°÷¹ØÆþ¤Ç¤¢¤ë¤³¤È¤òµ­Ï¿¤¹¤ë¡£
@@ -616,5 +616,5 @@
 	
 	$sql = "SELECT job, count(*) AS order_count, SUM(total) AS total, int8(AVG(total)) AS total_average ";
-	$sql.= "FROM dtb_customer AS T1 LEFT JOIN dtb_order AS T2 USING ( customer_id ) WHERE $where AND T2.delete = 0";
+	$sql.= "FROM dtb_customer AS T1 LEFT JOIN dtb_order AS T2 USING ( customer_id ) WHERE $where AND T2.del_flg = 0";
 	$sql.= "GROUP BY job ORDER BY total DESC";
 	
