- Timestamp:
- 2006/09/17 14:21:34 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/class/SC_CustomerList.php (modified) (1 diff)
-
html/admin/mail/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_CustomerList.php
r4847 r4849 258 258 259 259 function getListMailMagazine() { 260 $this->select = "SELECT customer_id,name01,name02,kana01,kana02,sex,email,tel01,tel02,tel03,pref, mail_flag FROM dtb_customer_mail LEFT OUTER JOIN dtb_customer USING(email)"; 260 $this->select = " 261 SELECT 262 dtb_customer.customer_id, 263 dtb_customer.name01, 264 dtb_customer.name02, 265 dtb_customer.kana01, 266 dtb_customer.kana02, 267 dtb_customer.sex, 268 dtb_customer.email, 269 dtb_customer.tel01, 270 dtb_customer.tel02, 271 dtb_customer.tel03, 272 dtb_customer.pref, 273 dtb_customer_mail.mail_flag 274 FROM 275 dtb_customer_mail LEFT OUTER JOIN dtb_customer USING(email)"; 261 276 return $this->getSql(0); 262 277 } -
temp/trunk/html/admin/mail/index.php
r4847 r4849 369 369 global $conn; 370 370 global $arrSearchColumn; 371 372 $objQuery = new SC_Query(); 371 373 372 374 $objSelect = new SC_CustomerList( lfConvertParam($arrData, $arrSearchColumn), "magazine" ); … … 375 377 376 378 $dtb_send_history = array(); 377 $dtb_send_history["send_id"] = $conn->getOne("SELECT NEXTVAL('dtb_send_history_send_id_seq')"); 379 // $dtb_send_history["send_id"] = $conn->getOne("SELECT NEXTVAL('dtb_send_history_send_id_seq')"); 380 $dtb_send_history["send_id"] = $objQuery->nextval('dtb_send_history', 'send_id'); 378 381 $dtb_send_history["mail_method"] = $arrData['mail_method']; 379 382 $dtb_send_history["subject"] = $arrData['subject'];
Note: See TracChangeset
for help on using the changeset viewer.
