SHOW FULL COLUMNS FROM `dp_sys_setting` [ RunTime:0.000573s ]
SELECT * FROM `dp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000285s ]
SELECT * FROM `dp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000215s ]
SHOW FULL COLUMNS FROM `dp_coupon` [ RunTime:0.002922s ]
UPDATE `dp_coupon` SET `status` = 3 , `update_time` = '2026-03-20 07:11:58' WHERE ( `validity_type` = 1 AND `end_time` < '2026-03-20 07:11:58' ) [ RunTime:0.005089s ]
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.005893s ]