SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002691s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000593s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003450s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000379s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002217s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000334s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000602s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000276s ]
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.000523s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002521s ]
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-03 02:27:28' ) ) 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 20,10 [ RunTime:2.080843s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11321 LIMIT 4 [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11321 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11321 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11321 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11321 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000829s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMP-02V-NC' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2531 LIMIT 4 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2531 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2531 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2531 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2531 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-5' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.001881s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13956 LIMIT 4 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13956 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13956 ORDER BY `unit` DESC [ RunTime:0.000227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13956 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13956 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
select * from pdf where partno='51021-0200' and brandshort='MOLEX' limit 1 [ RunTime:0.002105s ]
select foldpath,foldpath2,filename from pdf_file where id=824976 limit 1 [ RunTime:0.000617s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51021-0200' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13677 LIMIT 4 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13677 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13677 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13677 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13677 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='43025-1000' and brandshort='MOLEX' limit 1 [ RunTime:0.001112s ]
select foldpath,foldpath2,filename from pdf_file where id=761291 limit 1 [ RunTime:0.000443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-1000' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3846 LIMIT 4 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3846 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3846 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3846 LIMIT 2 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3846 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='39-01-2045' and brandshort='MOLEX' limit 1 [ RunTime:0.000856s ]
select foldpath,foldpath2,filename from pdf_file where id=850252 limit 1 [ RunTime:0.000459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2045' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5685 LIMIT 4 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5685 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5685 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='C1608X7R1H104K' and brandshort='TDK' limit 1 [ RunTime:0.001522s ]
select foldpath,foldpath2,filename from pdf_file where id=1113786 limit 1 [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X7R1H104K' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.004656s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6776 LIMIT 4 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6776 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6776 ORDER BY `unit` DESC [ RunTime:0.000460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6776 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6776 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '171692-0102' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.008459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2163 LIMIT 4 [ RunTime:0.000434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2163 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2163 ORDER BY `unit` DESC [ RunTime:0.000762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2163 LIMIT 2 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2163 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-1062' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.007207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6859 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6859 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6859 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6859 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6859 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
select * from pdf where partno='66601-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '66601-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 931 LIMIT 4 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 931 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 931 ORDER BY `unit` DESC [ RunTime:0.000419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 931 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 931 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HFBR-4501Z' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002191s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 02:27:28' ) ) 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:2.811719s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 02:27:28' ) ) 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:1.757958s ]