- Timestamp:
- 2011/08/11 19:37:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/helper/SC_Helper_DB.php
r21182 r21185 729 729 foreach($arrDiffCategory_id as $cid) { 730 730 $sqlval = array(); 731 $sqlval['create_date'] = ' Now()';731 $sqlval['create_date'] = 'CURRENT_TIMESTAMP'; 732 732 $sqlval['product_count'] = (string)$arrNew[$cid]; 733 733 if($sqlval['product_count'] =="") { … … 780 780 foreach($arrUpdateData as $cid => $count) { 781 781 $sqlval = array(); 782 $sqlval['create_date'] = ' Now()';782 $sqlval['create_date'] = 'CURRENT_TIMESTAMP'; 783 783 $sqlval['product_count'] = $count; 784 784 if($sqlval['product_count'] =="") { … … 1271 1271 //各メーカーの商品数を数えて格納 1272 1272 $sql = " INSERT INTO dtb_maker_count(maker_id, product_count, create_date) "; 1273 $sql .= " SELECT T1.maker_id, count(T2.maker_id), now()";1273 $sql .= " SELECT T1.maker_id, count(T2.maker_id), CURRENT_TIMESTAMP "; 1274 1274 $sql .= " FROM dtb_maker AS T1 LEFT JOIN dtb_products AS T2"; 1275 1275 $sql .= " ON T1.maker_id = T2.maker_id ";
Note: See TracChangeset
for help on using the changeset viewer.
