Changeset 13485


Ignore:
Timestamp:
2007/05/28 11:51:49 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r13484 r13485  
    211211                //PC¥É¥á¥¤¥ó 
    212212                    if($domain == 2) { 
    213                         switch($this->arrSql['mail_type']){ 
    214                         //¥Ñ¥½¥³¥óÍÑ 
    215                         case '1': 
    216213                            if($sql_where == "") { 
    217214                                $sql_where .= "dtb_customer.email NOT ILIKE ? "; 
     
    219216                                $sql_where .= "AND dtb_customer.email NOT LIKE ? " ; 
    220217                            } 
    221                             break; 
    222                         //·ÈÂÓÍÑ 
    223                         case '2': 
    224                             if($sql_where == "") { 
    225                                 $sql_where .= "dtb_customer.email_mobile NOT ILIKE ? "; 
    226                             } else { 
    227                                 $sql_where .= "AND dtb_customer.email_mobile NOT LIKE ? " ; 
    228                             } 
    229                             break; 
    230218                        } 
    231                     } 
    232                 //¥â¥Ð¥¤¥ë¥É¥á¥¤¥ó 
     219                //·ÈÂӥɥᥤ¥ó 
    233220                    if($domain == 3) { 
    234                         switch($this->arrSql['mail_type']){ 
    235                         //¥Ñ¥½¥³¥óÍÑ 
    236                         case '1': 
    237221                            if($sql_where == "") { 
    238222                                $sql_where .= "dtb_customer.email ILIKE ? "; 
     
    240224                                $sql_where .= "OR dtb_customer.email LIKE ? " ; 
    241225                            } 
    242                             break; 
    243                         //·ÈÂÓÍÑ 
    244                         case '2': 
    245                             if($sql_where == "") { 
    246                                 $sql_where .= "dtb_customer.email_mobile ILIKE ? "; 
    247                             } else { 
    248                                 $sql_where .= "OR dtb_customer.email_mobile LIKE ? " ; 
    249                             } 
    250                             break; 
    251226                        } 
    252                     } 
    253227                        $searchDomain = $this->addSearchStr($val); 
    254228                        $this->arrVal[] = $searchDomain; 
Note: See TracChangeset for help on using the changeset viewer.