Changeset 12523 for branches/dev/data/class
- Timestamp:
- 2007/05/10 20:37:36 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/data/class/SC_CustomerList.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r12522 r12523 207 207 //¥É¥á¥¤¥ó»ØÄê»þ 208 208 if($domain == 2 || $domain == 3) { 209 foreach($arrDomainType as $val) {210 209 //PC¥É¥á¥¤¥ó 211 210 if($domain == 2) { 212 211 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 { 216 215 $sql_where .= "AND dtb_customer.email NOT LIKE ? " ; 217 }218 } else {219 if($sql_where == "") {216 } 217 } else { 218 if($sql_where == "") { 220 219 $sql_where .= "dtb_customer.email_mobile NOT ILIKE ? "; 221 220 } else { … … 227 226 } 228 227 $this->setWhere($sql_where); 228 } 229 229 //¥â¥Ð¥¤¥ë¥É¥á¥¤¥ó 230 230 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 == "") { 233 234 $sql_where .= "dtb_customer.email ILIKE ? "; 234 235 } else { 235 236 $sql_where .= "OR dtb_customer.email LIKE ? " ; 236 237 } 237 }else{238 if($sql_where == "") {238 }else{ 239 if($sql_where == "") { 239 240 $sql_where .= "dtb_customer.email_mobile ILIKE ? "; 240 241 } else {
Note: See TracChangeset
for help on using the changeset viewer.
