Changeset 22124 for branches/version-2_12-dev/data/class/pages/admin
- Timestamp:
- 2012/12/07 17:04:44 (11 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php
r22113 r22124 175 175 function getRecommendProducts() { 176 176 $objQuery = $objQuery =& SC_Query_Ex::getSingletonInstance(); 177 $col = 'dtb_products.name,dtb_products.main_list_image,dtb_ products.del_flg as p_del_flg,dtb_best_products.*';177 $col = 'dtb_products.name,dtb_products.main_list_image,dtb_best_products.*'; 178 178 $table = 'dtb_best_products INNER JOIN dtb_products ON dtb_best_products.product_id = dtb_products.product_id'; 179 179 $where = 'dtb_best_products.del_flg = 0'; -
branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products.php
r21867 r22124 262 262 $objQuery->update('dtb_products_class', $sqlval, "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 263 263 $objQuery->delete('dtb_customer_favorite_products', "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 264 $objQuery->delete('dtb_best_products', "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 264 265 $objQuery->update('dtb_products', $sqlval, $where, $arrParam); 265 266 $objQuery->commit();
Note: See TracChangeset
for help on using the changeset viewer.