Changeset 12522


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

Legend:

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

    r12521 r12522  
    207207            //¥É¥á¥¤¥ó»ØÄê»þ 
    208208            if($domain == 2 || $domain == 3) { 
     209                foreach($arrDomainType as $val) { 
    209210                //PC¥É¥á¥¤¥ó 
    210211                if($domain == 2) { 
    211                     foreach($arrDomainType as $val) {  
    212                         if($this->arrSql['mail_type'] == 1 ){ 
    213                             if($sql_where == "") { 
    214                             $sql_where .= "dtb_customer.email NOT ILIKE ? "; 
    215                             } else { 
     212                    if($this->arrSql['mail_type'] == 1 ){ 
     213                        if($sql_where == "") { 
     214                            $sql_where .= "dtb_customer.email NOT ILIKE ? "; 
     215                            } else { 
    216216                            $sql_where .= "AND dtb_customer.email NOT LIKE ? " ; 
    217                             } 
    218                         } else { 
    219                             if($sql_where == "") { 
     217                            } 
     218                    } else { 
     219                        if($sql_where == "") { 
    220220                            $sql_where .= "dtb_customer.email_mobile NOT ILIKE ? "; 
    221221                            } else { 
     
    227227                    } 
    228228                    $this->setWhere($sql_where); 
    229                 } 
    230229                //¥â¥Ð¥¤¥ë¥É¥á¥¤¥ó 
    231230                if($domain == 3) { 
    232                     foreach($arrDomainType as $val) {  
    233                         if($this->arrSql['mail_type'] == 1 ){ 
    234                             if($sql_where == "") { 
     231                    if($this->arrSql['mail_type'] == 1 ){ 
     232                        if($sql_where == "") { 
    235233                            $sql_where .= "dtb_customer.email ILIKE ? "; 
    236234                            } else { 
    237235                            $sql_where .= "OR dtb_customer.email LIKE ? " ; 
    238236                            } 
    239                         }else{ 
    240                             if($sql_where == "") { 
     237                    }else{ 
     238                        if($sql_where == "") { 
    241239                            $sql_where .= "dtb_customer.email_mobile ILIKE ? "; 
    242240                            } else { 
Note: See TracChangeset for help on using the changeset viewer.