- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order.php
r21420 r21441 98 98 $this->arrForm = $objFormParam->getFormParamList(); 99 99 100 switch ($this->getMode()) {100 switch ($this->getMode()) { 101 101 // 削除 102 102 case 'delete': … … 119 119 $where = "del_flg = 0"; 120 120 foreach ($arrParam as $key => $val) { 121 if ($val == "") {121 if ($val == "") { 122 122 continue; 123 123 } … … 130 130 * 処理を実行 131 131 * ----------------------------------------------- */ 132 switch ($this->getMode()) {132 switch ($this->getMode()) { 133 133 // CSVを送信する。 134 134 case 'csv': … … 290 290 case 'search_order_sex': 291 291 $tmp_where = ""; 292 foreach ($objFormParam->getValue($key) as $element) {293 if ($element != "") {294 if (SC_Utils_Ex::isBlank($tmp_where)) {292 foreach ($objFormParam->getValue($key) as $element) { 293 if ($element != "") { 294 if (SC_Utils_Ex::isBlank($tmp_where)) { 295 295 $tmp_where .= " AND (order_sex = ?"; 296 296 } else { … … 301 301 } 302 302 303 if (!SC_Utils_Ex::isBlank($tmp_where)) {303 if (!SC_Utils_Ex::isBlank($tmp_where)) { 304 304 $tmp_where .= ")"; 305 305 $where .= " $tmp_where "; … … 316 316 case 'search_payment_id': 317 317 $tmp_where = ""; 318 foreach ($objFormParam->getValue($key) as $element) {319 if ($element != "") {320 if ($tmp_where == "") {318 foreach ($objFormParam->getValue($key) as $element) { 319 if ($element != "") { 320 if ($tmp_where == "") { 321 321 $tmp_where .= " AND (payment_id = ?"; 322 322 } else { … … 327 327 } 328 328 329 if (!SC_Utils_Ex::isBlank($tmp_where)) {329 if (!SC_Utils_Ex::isBlank($tmp_where)) { 330 330 $tmp_where .= ")"; 331 331 $where .= " $tmp_where "; … … 417 417 function doOutputCSV($where, $arrVal, $order) { 418 418 require_once CLASS_EX_REALDIR . 'helper_extends/SC_Helper_CSV_Ex.php'; 419 if ($where != "") {419 if ($where != "") { 420 420 $where = " WHERE $where "; 421 421 }
Note: See TracChangeset
for help on using the changeset viewer.