Changeset 222


Ignore:
Timestamp:
2007/02/09 19:31:13 (19 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

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

    r221 r222  
    7878        // ̾Á° 
    7979        if ( strlen($this->arrSql['name']) > 0 ) { 
    80             //$this->setWhere("(name01 || name02 LIKE ?)" ); 
    81             $this->setWhere("(name01 LIKE ?)" ); 
     80            if(DB_TYPE == "pgsql"){ 
     81                $this->setWhere("(name01 || name02 LIKE ?)" ); 
     82            }elseif(DB_TYPE == "mysql"){ 
     83                $this->setWhere("concat(name01,name02) LIKE ?)" ); 
     84            } 
     85 
    8286            $searchName = $this->addSearchStr($this->arrSql['name']); 
    8387            $this->arrVal[] = mb_ereg_replace("[ ¡¡]+","",$searchName); 
Note: See TracChangeset for help on using the changeset viewer.