SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002138s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000549s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002122s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001956s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000279s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000323s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000228s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) [ RunTime:0.000661s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002186s ]
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-09-27 15:22:29' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 320,10 [ RunTime:0.035398s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002738s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6387 LIMIT 4 [ RunTime:0.000564s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6387 ORDER BY `minOrder` ASC [ RunTime:0.000536s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001964s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6387 ORDER BY `unit` DESC [ RunTime:0.000505s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001018s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6387 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6387 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000966s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PADP-10V-1-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 472 LIMIT 4 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 472 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 472 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 472 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 472 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640442-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3269 LIMIT 4 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3269 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3269 ORDER BY `unit` DESC [ RunTime:0.000264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3269 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3269 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '102387-6.' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 936 LIMIT 4 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 936 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 936 ORDER BY `unit` DESC [ RunTime:0.000263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 936 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 936 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HFBR-4515Z' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.001731s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3483 LIMIT 4 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3483 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3483 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3483 LIMIT 2 [ RunTime:0.000171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3483 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EKZE101ELL101MK16S' OR `brand` LIKE 'CHEMI-CON%' ) ) LIMIT 1 [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13388 LIMIT 4 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13388 ORDER BY `unit` DESC [ RunTime:0.000271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13388 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211768-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.009922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3847 LIMIT 4 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3847 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3847 ORDER BY `unit` DESC [ RunTime:0.000187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3847 LIMIT 2 [ RunTime:0.000186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3847 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
select * from pdf where partno='39-01-3023' and brandshort='MOLEX' limit 1 [ RunTime:0.000241s ]
select foldpath,foldpath2,filename from pdf_file where id=850276 limit 1 [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-3023' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6239 LIMIT 4 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6239 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6239 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6239 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6239 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1827864-6' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.009447s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8449 LIMIT 4 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8449 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8449 ORDER BY `unit` DESC [ RunTime:0.000154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8449 LIMIT 2 [ RunTime:0.000150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8449 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74754-0101' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7777 LIMIT 4 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7777 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7777 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7777 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7777 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34900-2120' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005536s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-27 15:22:29' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.021064s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-27 15:22:29' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) [ RunTime:0.013100s ]