SHOW FULL COLUMNS FROM `dp_sys_setting` [ RunTime:0.000491s ]
SELECT * FROM `dp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000221s ]
SELECT * FROM `dp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000205s ]
SHOW FULL COLUMNS FROM `dp_coupon` [ RunTime:0.000673s ]
UPDATE `dp_coupon` SET `status` = 3 , `update_time` = '2025-12-10 22:04:00' WHERE ( `validity_type` = 1 AND `end_time` < '2025-12-10 22:04:00' ) [ RunTime:0.003422s ]
SELECT `id`,`coupon_type`,`name`,`type`,`amount`,`max_receive_num`,`validity_type`,`start_time`,`end_time`,`receive_useful_day`,`is_threshold`,`threshold_amount`,`discount`,`use_type`,`join_goods` FROM `dp_coupon` WHERE ( `status` = 1 ) ORDER BY `id` DESC [ RunTime:0.000383s ]