Changeset 12449


Ignore:
Timestamp:
2007/05/10 13:06:31 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_CustomerList.php

    r12448 r12449  
    205205            if($val==3){ 
    206206                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'" ); 
    208208            }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'" ); 
    210210                } 
    211211            } 
     
    213213            if($val==2){ 
    214214                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'" ); 
    216216            }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'" ); 
    218218                } 
    219219            } 
    220             $searchDomain = $this->addSearchStr['domain_type']; 
    221220        } 
    222221         
Note: See TracChangeset for help on using the changeset viewer.