Changeset 12370


Ignore:
Timestamp:
2007/05/09 14:52:06 (19 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r12369 r12370  
    222222            $val = $this->arrSql['domain']; 
    223223            if($val==3){ 
    224 //                  if(DB_TYPE == "pgsql"){ 
    225 //              $this->setWhere( "(email || email_mobile LIKE ?)" ); 
    226 //          }elseif(DB_TYPE == "mysql"){ 
    227 //              $this->setWhere("concat(email,email_mobile) LIKE ?" ); 
    228 //          } 
     224                    if(DB_TYPE == "pgsql"){ 
     225                $this->setWhere( "(email || email_mobile LIKE ?)" ); 
     226            }elseif(DB_TYPE == "mysql"){ 
     227                $this->setWhere("concat(email,email_mobile) LIKE ?" ); 
     228            } 
    229229            $sql_where .= "dtb_customer.email_mobile LIKE ? "; 
    230230            $this->setWhere($sql_where); 
     
    234234         
    235235//print_r($this->arrSql); 
    236         } 
    237236         
    238237        //¡¡HTML-mail¡ÊÇÛ¿®Êý¼°) 
Note: See TracChangeset for help on using the changeset viewer.