Ignore:
Timestamp:
2009/05/15 16:30:40 (15 years ago)
Author:
kajiwara
Message:

2.4.0 正式版のコミット。コミット内容の詳細はこちら(http://svn.ec-cube.net/open_trac/query?status=closed&milestone=EC-CUBE2.4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/SC_CustomerList.php

    r17218 r18007  
    2828 
    2929    var $arrColumnCSV; 
    30              
     30 
    3131    function SC_CustomerList($array, $mode = '') { 
    3232        parent::SC_SelectSql($array); 
    33          
     33 
    3434        $masterData = new SC_DB_MasterData_Ex(); 
    3535        $arrMobileDomain = $masterData->getMasterData("mtb_mobile_domain"); 
    36          
     36 
    3737        $objDb = new SC_Helper_DB_Ex(); 
    3838 
     
    4646        if($mode == "customer") { 
    4747            // 管理者ページ顧客検索の場合仮登録会員も検索 
    48             $this->setWhere( "(status = 1 OR status = 2) AND del_flg = 0 "); 
     48            //$this->setWhere( "(status = 1 OR status = 2) AND del_flg = 0 "); 
     49            $this->setWhere( " del_flg = 0 "); 
    4950            // 登録日を示すカラム 
    5051            $regdate_col = 'dtb_customer.update_date'; 
     
    164165        // E-MAIL(mobile) 
    165166        if (!isset($this->arrSql['email_mobile'])) $this->arrSql['email_mobile'] = ""; 
    166          
     167 
    167168        if (strlen($this->arrSql['email_mobile']) > 0) { 
    168169            //カンマ区切りで複数の条件指定可能に 
     
    196197            // PCサイトメールが指定されている場合 
    197198            if ( strlen($this->arrSql['mail_type']) > 0 && $this->arrSql['mail_type'] == 1) { 
    198                 // 携帯ドメインを外す。 
    199                 foreach($arrMobileDomain as $mobile_domain) { 
    200                     $this->setWhere(" dtb_customer.email NOT ILIKE '%$mobile_domain' ");                     
    201                 } 
     199                // 携帯ドメインを外す。 
     200                foreach($arrMobileDomain as $mobile_domain) { 
     201                    $this->setWhere(" dtb_customer.email NOT ILIKE '%$mobile_domain' "); 
     202                } 
    202203            // 携帯サイトメールが指定されている場合 
    203204            } else if( strlen($this->arrSql['mail_type']) > 0 && $this->arrSql['mail_type'] == 2) { 
    204                 $this->setWhere( " dtb_customer.email_mobile <> ''  "); 
     205                $this->setWhere( " dtb_customer.email_mobile <> ''  "); 
    205206            } 
    206207        } 
     
    344345        } 
    345346 
     347        //会員状態 
     348        if (!isset($this->arrSql['status'])) $this->arrSql['status'] = ""; 
     349        if ( is_array( $this->arrSql['status'] ) ){ 
     350            $arrStatusVal = $this->setItemTerm( $this->arrSql['status'] ,"status" ); 
     351            foreach ($arrStatusVal as $data) { 
     352                $this->arrVal[] = $data; 
     353            } 
     354        } 
    346355        $this->setOrder( "customer_id DESC" ); 
    347356    } 
Note: See TracChangeset for help on using the changeset viewer.