Changeset 4846 for temp/trunk/html
- Timestamp:
- 2006/09/17 13:41:33 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/mail/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/mail/index.php
r4608 r4846 135 135 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 136 136 $objQuery = new SC_Query(); 137 $from = "dtb_customer_mail LEFT OUTER JOIN dtb_customerUSING(email)";137 $from = "dtb_customer_mail as mail LEFT OUTER JOIN dtb_customer as cus USING(email)"; 138 138 139 139 // ¹Ô¿ô¤Î¼èÆÀ … … 151 151 $objQuery->setorder("customer_id DESC"); 152 152 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 153 $col = "cus tomer_id,name01,name02,kana01,kana02,sex,email,tel01,tel02,tel03,pref,mail_flag";153 $col = "cus.customer_id,cus.name01,cus.name02,cus.kana01,cus.kana02,cus.sex,cus.email,cus.tel01,cus.tel02,cus.tel03,cus.pref,mail.mail_flag"; 154 154 $objPage->arrResults = $objQuery->select($col, $from, $where, $arrval); 155 155 … … 276 276 function lfGetCustomerOrderId($keyword) { 277 277 if($keyword != "") { 278 $col = " customer_id,order_id";278 $col = "dtb_order.customer_id, dtb_order.order_id"; 279 279 $from = "dtb_order LEFT JOIN dtb_order_detail USING(order_id)"; 280 280 $where = "product_code LIKE ? AND del_flg = 0";
Note: See TracChangeset
for help on using the changeset viewer.
