Changeset 12424


Ignore:
Timestamp:
2007/05/10 10:01:03 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r12423 r12424  
    206206                $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%'" ); 
    207207            }elseif($this->arrSql['mail_type']==2){ 
    208                 $this->setWhere( "email_mobile LIKE '%@docomo.ne.jp%'" ); 
     208                $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%'" ); 
    209209                } 
    210210            } 
    211211            if($val==2){ 
    212212                if($this->arrSql['mail_type']==1){ 
    213                 $this->setWhere( "email NOT LIKE '%@docomo.ne.jp%'" ); 
     213                $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%'" ); 
    214214            }elseif($this->arrSql['mail_type']==2){ 
    215                 $this->setWhere( "email_mobile NOT LIKE '%@docomo.ne.jp%'" ); 
     215                $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%'" ); 
    216216                } 
    217217            } 
Note: See TracChangeset for help on using the changeset viewer.