Changeset 4897
- Timestamp:
- 2006/09/17 19:06:37 (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
r4896 r4897 1009 1009 if(sfIsInt($product_id)) { 1010 1010 $objQuery = new SC_Query(); 1011 $where = "to_char(now(),'YYYY/MM/DD/HH24') >= to_char(start_date,'YYYY/MM/DD/HH24') AND "; 1012 $where .= "to_char(now(),'YYYY/MM/DD/HH24') < to_char(end_date,'YYYY/MM/DD/HH24') AND "; 1011 $where = "now() >= cast(start_date as date) AND "; 1012 $where .= "now() < cast(end_date as date) AND "; 1013 1013 1014 $where .= "del_flg = 0 AND campaign_id IN (SELECT campaign_id FROM dtb_campaign_detail where product_id = ? )"; 1014 1015 //ÅÐÏ¿(¹¹¿·)ÆüÉÕ½ç
Note: See TracChangeset
for help on using the changeset viewer.
