Changeset 20907


Ignore:
Timestamp:
2011/04/27 16:13:23 (10 years ago)
Author:
kimoto
Message:

商品削除時にupdate_dateを更新 #1239

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/admin/products/LC_Page_Admin_Products.php

    r20764 r20907  
    255255    function doDelete($where, $arrParam = array()) { 
    256256        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    257         $objQuery->update("dtb_products", array('del_flg' => 1), $where, $arrParam); 
    258         $objQuery->update("dtb_products_class", array('del_flg' => 1), $where, $arrParam); 
     257        $sqlval['del_flg']     = 1; 
     258        $sqlval['update_date'] = 'now()'; 
     259        $objQuery->update("dtb_products", $sqlval, $where, $arrParam); 
     260        $objQuery->update("dtb_products_class", $sqlval, $where, $arrParam); 
    259261        $objQuery->delete("dtb_customer_favorite_products", $where, $arrParam); 
    260262    } 
Note: See TracChangeset for help on using the changeset viewer.