Ignore:
Timestamp:
2007/05/10 12:39:04 (19 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r12441 r12445  
    205205            if($val==3){ 
    206206                if($this->arrSql['mail_type']==1){ 
    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'" ); 
     207                $this->setWhere( "email LIKE ? " ); 
    208208            }elseif($this->arrSql['mail_type']==2){ 
    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'" ); 
     209                $this->setWhere( "email_mobile LIKE ? " ); 
    210210                } 
    211211            } 
     
    213213            if($val==2){ 
    214214                if($this->arrSql['mail_type']==1){ 
    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'" ); 
     215                $this->setWhere( "email NOT LIKE '%@docomo.ne.jp%' AND email NOT LIKE '%@softbank.ne.jp%' AND email NOT LIKE '%@ezweb.ne.jp%' AND email NOT LIKE '%vodafone.ne.jp'" ); 
    216216            }elseif($this->arrSql['mail_type']==2){ 
    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'" ); 
     217                $this->setWhere( "email_mobile NOT LIKE '%@docomo.ne.jp%' AND email_mobile NOT LIKE '%@softbank.ne.jp%' AND email_mobile NOT LIKE '%@ezweb.ne.jp%' AND email_mobile NOT LIKE '%vodafone.ne.jp'" ); 
    218218                } 
    219219            } 
Note: See TracChangeset for help on using the changeset viewer.