SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002234s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000494s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002624s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001699s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000254s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 49 LIMIT 1 [ RunTime:0.000268s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000208s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) [ RunTime:0.000452s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001999s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 22:08:56' ) ) AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 30,10 [ RunTime:2.212386s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11210 LIMIT 4 [ RunTime:0.001169s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11210 ORDER BY `minOrder` ASC [ RunTime:0.000845s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11210 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001065s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11210 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11210 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001425s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4254GSXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006086s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3996 LIMIT 4 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3996 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3996 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5-160430-7' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6854 LIMIT 4 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6854 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6854 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34318' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 278 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 278 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 278 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 278 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 278 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L5970D' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4717 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4717 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4717 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520128-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10869 LIMIT 4 [ RunTime:0.000657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10869 ORDER BY `minOrder` ASC [ RunTime:0.000667s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10869 ORDER BY `unit` DESC [ RunTime:0.000621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10869 LIMIT 2 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10869 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP161ASN330T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4923 LIMIT 4 [ RunTime:0.000518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4923 ORDER BY `minOrder` ASC [ RunTime:0.000520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4923 ORDER BY `unit` DESC [ RunTime:0.000608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4923 LIMIT 2 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4923 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AL8805W5-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10080 LIMIT 4 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.000518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10080 ORDER BY `unit` DESC [ RunTime:0.000541s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10080 LIMIT 2 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390014' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13831 LIMIT 4 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13831 ORDER BY `unit` DESC [ RunTime:0.000515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13831 LIMIT 2 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '222-413' OR `brand` LIKE 'WAGO%' ) ) LIMIT 1 [ RunTime:0.001664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6852 LIMIT 4 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6852 ORDER BY `unit` DESC [ RunTime:0.000547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6852 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '42281-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001195s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 22:08:56' ) ) AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.725326s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 22:08:56' ) ) AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) [ RunTime:1.810642s ]