Changeset 12384 for branches/dev/data/class/SC_CustomerList.php
- Timestamp:
- 2007/05/09 15:49:35 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/data/class/SC_CustomerList.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r12375 r12384 200 200 201 201 //¥É¥á¥¤¥ó»ØÄê 202 if ( $mode == 'magazine' ){ 203 // if ( strlen($this->arrSql['domain']) > 0 && $this->arrSql['domain'] == 3) { 204 //¡¡¡¡¡¡¡¡¡¡¡¡ if(DB_TYPE == "pgsql"){ 205 // $this->setWhere( "(email || email_mobile LIKE ?)" ); 206 // }elseif(DB_TYPE == "mysql"){ 207 // $this->setWhere("concat(email,email_mobile) LIKE ?" ); 208 // }¡¡¡¡ 209 // $searchDomainType = $this->addSearchStr($this->arrSql['domain_type']); 210 // $this->arrVal[] = $searchDomaintype; 211 // } 212 // if ( strlen($this->arrSql['domain']) > 0 && $this->arrSql['domain'] == 2) { 213 // if(DB_TYPE == "pgsql"){ 214 // $this->setWhere( "(email || email_mobile LIKE ?)" ); 215 // }elseif(DB_TYPE == "mysql"){ 216 // $this->setWhere("concat(email,email_mobile) LIKE ?" ); 217 // } 218 // $searchDomainType = $this->addSearchStr($this->arrSql['domain_type']); 219 // $this->arrVal[] = $searchDomaintype; 220 // } 221 222 $val = $this->arrSql['domain']; 223 if($val==3){ 224 $sql = "SELECT email_mobile FROM dtb_customer WHERE email_mobile LIKE '%@docomo.ne.jp'"; 225 } 226 $this->arrVal[] = $sql; 227 } 202 // if ( $mode == 'magazine' ){ 203 // $val = $this->arrSql['domain']; 204 // if($val==3){ 205 // $sql = "SELECT email_mobile FROM dtb_customer WHERE email_mobile LIKE ?"; 206 // } 207 // $this->arrVal[] = $sql; 208 // } 228 209 229 210
Note: See TracChangeset
for help on using the changeset viewer.
