SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001332s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005699s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002143s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.79' ) [ RunTime:0.006007s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.009819s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002211s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.006266s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SMAJ12A' LIMIT 1 [ RunTime:0.000927s ]
UPDATE `stock_search` SET `count` = 10560 , `updatetime` = '2026-04-28 05:18:21' WHERE `partno` = 'SMAJ12A' [ RunTime:0.006603s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000483s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002177s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.002998s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002854s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'SMAJ12A%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.005512s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'SMAJ12A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,20 [ RunTime:0.011457s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('14802251','14803997','16668079','14800316','13928548','14800641','16662876','14815148','14803305','13907786','8648','16644','15625','14809204','4300','16692292','16692291','16689441','16669320','16669303') ORDER BY FIELD(s.id, 14802251,14803997,16668079,14800316,13928548,14800641,16662876,14815148,14803305,13907786,8648,16644,15625,14809204,4300,16692292,16692291,16689441,16669320,16669303) [ RunTime:0.036351s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14802251 LIMIT 4 [ RunTime:0.028002s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14802251 ORDER BY `minOrder` ASC [ RunTime:0.007000s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14802251 ORDER BY `unit` DESC [ RunTime:0.003056s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001080s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14802251 LIMIT 2 [ RunTime:0.001042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14802251 ORDER BY `minOrder` ASC [ RunTime:0.002744s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14803997 LIMIT 4 [ RunTime:0.002488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14803997 ORDER BY `minOrder` ASC [ RunTime:0.002451s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14803997 ORDER BY `unit` DESC [ RunTime:0.015226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14803997 LIMIT 2 [ RunTime:0.014367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14803997 ORDER BY `minOrder` ASC [ RunTime:0.002029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16668079 LIMIT 4 [ RunTime:0.000891s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16668079 ORDER BY `minOrder` ASC [ RunTime:0.007685s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16668079 ORDER BY `unit` DESC [ RunTime:0.001865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16668079 LIMIT 2 [ RunTime:0.005292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16668079 ORDER BY `minOrder` ASC [ RunTime:0.000438s ]
select * from pdf where partno='SMAJ12AQ-13-F' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.009603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14800316 LIMIT 4 [ RunTime:0.010933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14800316 ORDER BY `minOrder` ASC [ RunTime:0.010564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14800316 ORDER BY `unit` DESC [ RunTime:0.003816s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14800316 LIMIT 2 [ RunTime:0.009748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14800316 ORDER BY `minOrder` ASC [ RunTime:0.000773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13928548 LIMIT 4 [ RunTime:0.001037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13928548 ORDER BY `minOrder` ASC [ RunTime:0.006656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13928548 ORDER BY `unit` DESC [ RunTime:0.005942s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13928548 LIMIT 2 [ RunTime:0.003294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13928548 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14800641 LIMIT 4 [ RunTime:0.000889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14800641 ORDER BY `minOrder` ASC [ RunTime:0.000591s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14800641 ORDER BY `unit` DESC [ RunTime:0.007170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14800641 LIMIT 2 [ RunTime:0.007128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14800641 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16662876 LIMIT 4 [ RunTime:0.003007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16662876 ORDER BY `minOrder` ASC [ RunTime:0.002274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16662876 ORDER BY `unit` DESC [ RunTime:0.001602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16662876 LIMIT 2 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16662876 ORDER BY `minOrder` ASC [ RunTime:0.001166s ]
select * from pdf where partno='SMAJ12AHR3G' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.016992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14815148 LIMIT 4 [ RunTime:0.003195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14815148 ORDER BY `minOrder` ASC [ RunTime:0.004324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14815148 ORDER BY `unit` DESC [ RunTime:0.013363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14815148 LIMIT 2 [ RunTime:0.001202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14815148 ORDER BY `minOrder` ASC [ RunTime:0.008676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14803305 LIMIT 4 [ RunTime:0.001691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14803305 ORDER BY `minOrder` ASC [ RunTime:0.001089s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14803305 ORDER BY `unit` DESC [ RunTime:0.000476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14803305 LIMIT 2 [ RunTime:0.002611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14803305 ORDER BY `minOrder` ASC [ RunTime:0.003399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13907786 LIMIT 4 [ RunTime:0.009767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13907786 ORDER BY `minOrder` ASC [ RunTime:0.002924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13907786 ORDER BY `unit` DESC [ RunTime:0.002304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13907786 LIMIT 2 [ RunTime:0.001962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13907786 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8648 LIMIT 4 [ RunTime:0.008236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8648 ORDER BY `minOrder` ASC [ RunTime:0.000844s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8648 ORDER BY `unit` DESC [ RunTime:0.008148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8648 LIMIT 2 [ RunTime:0.010888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8648 ORDER BY `minOrder` ASC [ RunTime:0.006842s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001490s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.011461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16644 LIMIT 4 [ RunTime:0.009585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16644 ORDER BY `minOrder` ASC [ RunTime:0.000797s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16644 ORDER BY `unit` DESC [ RunTime:0.003236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16644 LIMIT 2 [ RunTime:0.004288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16644 ORDER BY `minOrder` ASC [ RunTime:0.002895s ]
select * from pdf where partno='SMAJ12A' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.006300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001898s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15625 LIMIT 4 [ RunTime:0.003087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15625 ORDER BY `minOrder` ASC [ RunTime:0.008478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15625 ORDER BY `unit` DESC [ RunTime:0.006349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15625 LIMIT 2 [ RunTime:0.006750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15625 ORDER BY `minOrder` ASC [ RunTime:0.002475s ]
select * from pdf where partno='SMAJ12A' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14809204 LIMIT 4 [ RunTime:0.000774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14809204 ORDER BY `minOrder` ASC [ RunTime:0.002026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14809204 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14809204 LIMIT 2 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14809204 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4300 LIMIT 4 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4300 ORDER BY `minOrder` ASC [ RunTime:0.000651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4300 ORDER BY `unit` DESC [ RunTime:0.000551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4300 LIMIT 2 [ RunTime:0.002092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4300 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
select * from pdf where partno='SMAJ12A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001205s ]
select foldpath,foldpath2,filename from pdf_file where id=446702 limit 1 [ RunTime:0.002691s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16692292 LIMIT 4 [ RunTime:0.001016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16692292 ORDER BY `minOrder` ASC [ RunTime:0.002437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16692292 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16692292 LIMIT 2 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16692292 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16692291 LIMIT 4 [ RunTime:0.000434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16692291 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16692291 ORDER BY `unit` DESC [ RunTime:0.003423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16692291 LIMIT 2 [ RunTime:0.007330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16692291 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16689441 LIMIT 4 [ RunTime:0.002956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16689441 ORDER BY `minOrder` ASC [ RunTime:0.000555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16689441 ORDER BY `unit` DESC [ RunTime:0.000552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16689441 LIMIT 2 [ RunTime:0.000688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16689441 ORDER BY `minOrder` ASC [ RunTime:0.005025s ]
select * from pdf where partno='SMAJ12AHE3/61' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.003991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16669320 LIMIT 4 [ RunTime:0.000870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16669320 ORDER BY `minOrder` ASC [ RunTime:0.004688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16669320 ORDER BY `unit` DESC [ RunTime:0.001925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16669320 LIMIT 2 [ RunTime:0.009796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16669320 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16669303 LIMIT 4 [ RunTime:0.004462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16669303 ORDER BY `minOrder` ASC [ RunTime:0.001650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16669303 ORDER BY `unit` DESC [ RunTime:0.008087s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16669303 LIMIT 2 [ RunTime:0.017355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16669303 ORDER BY `minOrder` ASC [ RunTime:0.002611s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SMAJ12A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004955s ]