Changeset 5204 for temp/trunk
- Timestamp:
- 2006/09/20 11:20:44 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/lib/slib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r5203 r5204 2146 2146 $line = sfGetCommaList($arrRet); 2147 2147 2148 $sql = " INSERT INTO dtb_category_total_count(category_id, product_count ) ";2149 $sql .= " SELECT ?, SUM(product_count) FROM dtb_category_count ";2148 $sql = " INSERT INTO dtb_category_total_count(category_id, product_count, create_date) "; 2149 $sql .= " SELECT ?, SUM(product_count), now() FROM dtb_category_count "; 2150 2150 $sql .= " WHERE category_id IN (" . $line . ")"; 2151 2151
Note: See TracChangeset
for help on using the changeset viewer.
