Ignore:
Timestamp:
2007/05/10 20:37:36 (19 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r12522 r12523  
    207207            //¥É¥á¥¤¥ó»ØÄê»þ 
    208208            if($domain == 2 || $domain == 3) { 
    209                 foreach($arrDomainType as $val) { 
    210209                //PC¥É¥á¥¤¥ó 
    211210                if($domain == 2) { 
    212211                    if($this->arrSql['mail_type'] == 1 ){ 
    213                         if($sql_where == "") { 
    214                             $sql_where .= "dtb_customer.email NOT ILIKE ? "; 
    215                             } else { 
     212                            if($sql_where == "") { 
     213                            $sql_where .= "dtb_customer.email NOT ILIKE ? "; 
     214                            } else { 
    216215                            $sql_where .= "AND dtb_customer.email NOT LIKE ? " ; 
    217                             } 
    218                     } else { 
    219                         if($sql_where == "") { 
     216                            } 
     217                        } else { 
     218                            if($sql_where == "") { 
    220219                            $sql_where .= "dtb_customer.email_mobile NOT ILIKE ? "; 
    221220                            } else { 
     
    227226                    } 
    228227                    $this->setWhere($sql_where); 
     228                } 
    229229                //¥â¥Ð¥¤¥ë¥É¥á¥¤¥ó 
    230230                if($domain == 3) { 
    231                     if($this->arrSql['mail_type'] == 1 ){ 
    232                         if($sql_where == "") { 
     231                    foreach($arrDomainType as $val) {  
     232                        if($this->arrSql['mail_type'] == 1 ){ 
     233                            if($sql_where == "") { 
    233234                            $sql_where .= "dtb_customer.email ILIKE ? "; 
    234235                            } else { 
    235236                            $sql_where .= "OR dtb_customer.email LIKE ? " ; 
    236237                            } 
    237                     }else{ 
    238                         if($sql_where == "") { 
     238                        }else{ 
     239                            if($sql_where == "") { 
    239240                            $sql_where .= "dtb_customer.email_mobile ILIKE ? "; 
    240241                            } else { 
Note: See TracChangeset for help on using the changeset viewer.