Changeset 23334
- Timestamp:
- 2014/02/05 17:45:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/helper/SC_Helper_TaxRule.php
r23230 r23334 168 168 $table = 'dtb_tax_rule'; 169 169 $cols = '*'; 170 170 171 171 // 商品税率有無設定により分岐 172 172 if(OPTION_PRODUCT_TAX_RULE == 1) { 173 $where = '((product_id = 0 OR product_id = ?)' 174 . ' OR (product_class_id = 0 OR product_class_id = ?))' 175 . ' AND (pref_id = 0 OR pref_id = ?)' 176 . ' AND (country_id = 0 OR country_id = ?)' 177 . ' AND apply_date < CURRENT_TIMESTAMP' 178 . ' AND del_flg = 0'; 173 $where = ' 174 ( 175 (product_id = 0 OR product_id = ?) 176 AND (product_class_id = 0 OR product_class_id = ?) 177 ) 178 AND (pref_id = 0 OR pref_id = ?) 179 AND (country_id = 0 OR country_id = ?) 180 AND apply_date < CURRENT_TIMESTAMP 181 AND del_flg = 0'; 179 182 $arrVal = array($product_id, $product_class_id, $pref_id, $country_id); 180 183 } else {
Note: See TracChangeset
for help on using the changeset viewer.