Changeset 12449
- Timestamp:
- 2007/05/10 13:06:31 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r12448 r12449 205 205 if($val==3){ 206 206 if($this->arrSql['mail_type']==1){ 207 $this->setWhere( "email LIKE ?" );207 $this->setWhere( "email LIKE '%@docomo.ne.jp%' OR email LIKE '%@softbank.ne.jp%' OR email LIKE '%@ezweb.ne.jp%' OR email LIKE '%vodafone.ne.jp'" ); 208 208 }elseif($this->arrSql['mail_type']==2){ 209 $this->setWhere( "email_mobile LIKE ?" );209 $this->setWhere( "email_mobile LIKE '%@docomo.ne.jp%' OR email_mobile LIKE '%@softbank.ne.jp%' OR email_mobile LIKE '%@ezweb.ne.jp%' OR email_mobile LIKE '%vodafone.ne.jp'" ); 210 210 } 211 211 } … … 213 213 if($val==2){ 214 214 if($this->arrSql['mail_type']==1){ 215 $this->setWhere( "email NOT LIKE ?" );215 $this->setWhere( "email NOT ILIKE '%@docomo.ne.jp%' AND email NOT ILIKE '%@softbank.ne.jp%' AND email NOT ILIKE '%@ezweb.ne.jp%' AND email NOT ILIKE '%vodafone.ne.jp'" ); 216 216 }elseif($this->arrSql['mail_type']==2){ 217 $this->setWhere( "email_mobile NOT LIKE ?" );217 $this->setWhere( "email_mobile NOT ILIKE '%@docomo.ne.jp%' AND email_mobile NOT ILIKE '%@softbank.ne.jp%' AND email_mobile NOT ILIKE '%@ezweb.ne.jp%' AND email_mobile NOT ILIKE '%vodafone.ne.jp'" ); 218 218 } 219 219 } 220 $searchDomain = $this->addSearchStr['domain_type'];221 220 } 222 221
Note: See TracChangeset
for help on using the changeset viewer.