SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002087s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000612s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002030s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000317s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002421s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000323s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000392s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000242s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305) [ RunTime:0.000298s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001901s ]
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-06 08:01:10' ) ) AND `categoryid` IN (287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 30,10 [ RunTime:2.094576s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10901 LIMIT 4 [ RunTime:0.000416s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10901 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10901 ORDER BY `unit` DESC [ RunTime:0.000723s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000935s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10901 LIMIT 2 [ RunTime:0.000535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10901 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='1825027-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001456s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1825027-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.009709s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9697 LIMIT 4 [ RunTime:0.000523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9697 ORDER BY `unit` DESC [ RunTime:0.000398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9697 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.001942s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000914s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767 LIMIT 4 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767 ORDER BY `unit` DESC [ RunTime:0.000437s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767 LIMIT 2 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001716s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13799 LIMIT 4 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13799 ORDER BY `minOrder` ASC [ RunTime:0.000494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13799 ORDER BY `unit` DESC [ RunTime:0.000462s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13799 LIMIT 2 [ RunTime:0.000737s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13799 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MR2-5' OR `brand` LIKE 'KNITTER-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12864 LIMIT 4 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12864 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12864 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12864 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12864 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='471001264142' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001403s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '471001264142' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10213 LIMIT 4 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10213 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10213 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='JS102011JCQN' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.001498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'JS102011JCQN' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.001042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9553 LIMIT 4 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9553 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9553 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9553 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9553 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'R1966ABLKBLKFR' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9792 LIMIT 4 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9792 ORDER BY `unit` DESC [ RunTime:0.000403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9792 LIMIT 2 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFS101D-14-Z' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000496s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8275 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8275 ORDER BY `minOrder` ASC [ RunTime:0.000868s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8275 ORDER BY `unit` DESC [ RunTime:0.000398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8275 LIMIT 2 [ RunTime:0.001105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8275 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC32879' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4252 LIMIT 4 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4252 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4252 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4252 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4252 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='1-1634201-2' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000932s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1634201-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.008981s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-06 08:01:10' ) ) AND `categoryid` IN (287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.363311s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-06 08:01:10' ) ) AND `categoryid` IN (287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305) ) [ RunTime:1.961609s ]