SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002179s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000751s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001657s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001402s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000217s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 51 LIMIT 1 [ RunTime:0.000216s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000154s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) [ RunTime:0.000272s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001229s ]
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-02 21:40:31' ) ) AND `categoryid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 80,10 [ RunTime:2.219823s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002050s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1987 LIMIT 4 [ RunTime:0.000441s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1987 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000865s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1987 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000852s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1987 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1987 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D00091' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.000512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3086 LIMIT 4 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3086 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3086 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.000736s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000552s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11564 LIMIT 4 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11564 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11564 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11564 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11564 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
select * from pdf where partno='2103013-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2103013-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3719 LIMIT 4 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3719 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3719 ORDER BY `unit` DESC [ RunTime:0.000311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3719 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3719 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CA3106E10SL-4SA206F42' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.000513s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3007 LIMIT 4 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3007 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3007 LIMIT 2 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
select * from pdf where partno='31118' and brandshort='WIHA' limit 1 [ RunTime:0.000763s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31118' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12981 LIMIT 4 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12981 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12981 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12981 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12981 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
select * from pdf where partno='DL3057-10A' and brandshort='AMPHENOL INDUSTRIAL' limit 1 [ RunTime:0.000721s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DL3057-10A' OR `brand` LIKE 'AMPHENOL INDUSTRIAL%' ) ) LIMIT 1 [ RunTime:0.000399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5046 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5046 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5046 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5046 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5046 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CA3106R16S-1PF80' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2862 LIMIT 4 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2862 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2862 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2862 LIMIT 2 [ RunTime:0.000298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2862 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
select * from pdf where partno='DD24661' and brandshort='ITT CANNON' limit 1 [ RunTime:0.000648s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DD24661' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.000454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9372 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9372 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9372 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9372 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9372 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '09151000401' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.000668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5036 LIMIT 4 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5036 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5036 ORDER BY `unit` DESC [ RunTime:0.000190s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5036 LIMIT 2 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5036 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CA3100E18-19SB02-05' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.000200s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-02 21:40:31' ) ) AND `categoryid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.170880s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-02 21:40:31' ) ) AND `categoryid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) ) [ RunTime:2.333595s ]