SHOW FULL COLUMNS FROM `sp_sys_setting` [ RunTime:0.000732s ]
SELECT * FROM `sp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000493s ]
SELECT * FROM `sp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000474s ]
SELECT * FROM `sp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000432s ]
SHOW FULL COLUMNS FROM `sp_coupon` [ RunTime:0.000875s ]
UPDATE `sp_coupon` SET `status` = 3 , `update_time` = '2025-04-03 14:03:04' WHERE `validity_type` = 1 AND `end_time` < '2025-04-03 14:03:04' [ RunTime:0.013478s ]
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 `sp_coupon` WHERE `status` = 1 ORDER BY `id` DESC [ RunTime:0.000450s ]