SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002629s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000653s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002458s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.130' ) [ RunTime:0.000944s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002192s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000945s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002181s ]
SELECT * FROM `stock_search` WHERE `partno` = '210' LIMIT 1 [ RunTime:0.003129s ]
UPDATE `stock_search` SET `count` = 112 , `updatetime` = '2026-06-04 20:31:57' WHERE `partno` = '210' [ RunTime:0.008397s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001973s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000695s ]
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.001816s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003480s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '210%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.124070s ]
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 '210%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,20 [ RunTime:0.019619s ]
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 ('12632751','32214520','32277428','32162926','14405923','11418914','32304281','32296150','16226530','13535587','19821432','15454181','12511571','19668156','32277582','32163080','11985897','32267840','11987439','15473454') ORDER BY FIELD(s.id, 12632751,32214520,32277428,32162926,14405923,11418914,32304281,32296150,16226530,13535587,19821432,15454181,12511571,19668156,32277582,32163080,11985897,32267840,11987439,15473454) [ RunTime:0.004491s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001111s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12632751 LIMIT 4 [ RunTime:0.001169s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12632751 ORDER BY `minOrder` ASC [ RunTime:0.002727s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12632751 ORDER BY `unit` DESC [ RunTime:0.000908s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12632751 LIMIT 2 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12632751 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
select * from pdf where partno='2106489-4' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32214520 LIMIT 4 [ RunTime:0.002206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32214520 ORDER BY `minOrder` ASC [ RunTime:0.004159s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32214520 ORDER BY `unit` DESC [ RunTime:0.002779s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32214520 LIMIT 2 [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32214520 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
select * from pdf where partno='2108964-1' and brandshort='te connectivity' limit 1 [ RunTime:0.001262s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2108964-1' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.021294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32277428 LIMIT 4 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277428 ORDER BY `minOrder` ASC [ RunTime:0.001195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32277428 ORDER BY `unit` DESC [ RunTime:0.009488s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32277428 LIMIT 2 [ RunTime:0.000707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277428 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
select * from pdf where partno='2106124-9' and brandshort='te connectivity / raychem' limit 1 [ RunTime:0.004425s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106124-9' OR `brand` LIKE 'te connectivity / raychem%' ) ) LIMIT 1 [ RunTime:0.001332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32162926 LIMIT 4 [ RunTime:0.000908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32162926 ORDER BY `minOrder` ASC [ RunTime:0.001408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32162926 ORDER BY `unit` DESC [ RunTime:0.001937s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32162926 LIMIT 2 [ RunTime:0.005927s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32162926 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
select * from pdf where partno='2106124-9' and brandshort='te connectivity / raychem' limit 1 [ RunTime:0.002831s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106124-9' OR `brand` LIKE 'te connectivity / raychem%' ) ) LIMIT 1 [ RunTime:0.000668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14405923 LIMIT 4 [ RunTime:0.005338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14405923 ORDER BY `minOrder` ASC [ RunTime:0.001868s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14405923 ORDER BY `unit` DESC [ RunTime:0.000643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14405923 LIMIT 2 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14405923 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11418914 LIMIT 4 [ RunTime:0.001123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11418914 ORDER BY `minOrder` ASC [ RunTime:0.002723s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11418914 ORDER BY `unit` DESC [ RunTime:0.000584s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11418914 LIMIT 2 [ RunTime:0.000944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11418914 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
select * from pdf where partno='2108-2-00-44-00-00-07-0' and brandshort='Mill-Max Manufacturing Corp.' limit 1 [ RunTime:0.002035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32304281 LIMIT 4 [ RunTime:0.001217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32304281 ORDER BY `minOrder` ASC [ RunTime:0.001320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32304281 ORDER BY `unit` DESC [ RunTime:0.004405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32304281 LIMIT 2 [ RunTime:0.001862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32304281 ORDER BY `minOrder` ASC [ RunTime:0.000454s ]
select * from pdf where partno='2108838-1' and brandshort='te connectivity' limit 1 [ RunTime:0.000904s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2108838-1' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.021087s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32296150 LIMIT 4 [ RunTime:0.001547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32296150 ORDER BY `minOrder` ASC [ RunTime:0.001282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32296150 ORDER BY `unit` DESC [ RunTime:0.000796s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32296150 LIMIT 2 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32296150 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
select * from pdf where partno='2108838-1' and brandshort='te connectivity' limit 1 [ RunTime:0.000564s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2108838-1' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.000418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16226530 LIMIT 4 [ RunTime:0.003901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16226530 ORDER BY `minOrder` ASC [ RunTime:0.000653s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16226530 ORDER BY `unit` DESC [ RunTime:0.000593s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16226530 LIMIT 2 [ RunTime:0.001107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16226530 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13535587 LIMIT 4 [ RunTime:0.005253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13535587 ORDER BY `minOrder` ASC [ RunTime:0.004228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13535587 ORDER BY `unit` DESC [ RunTime:0.000655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13535587 LIMIT 2 [ RunTime:0.005076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13535587 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19821432 LIMIT 4 [ RunTime:0.002015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19821432 ORDER BY `minOrder` ASC [ RunTime:0.000667s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19821432 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19821432 LIMIT 2 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19821432 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15454181 LIMIT 4 [ RunTime:0.000983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15454181 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15454181 ORDER BY `unit` DESC [ RunTime:0.003208s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15454181 LIMIT 2 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15454181 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12511571 LIMIT 4 [ RunTime:0.002957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12511571 ORDER BY `minOrder` ASC [ RunTime:0.001573s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12511571 ORDER BY `unit` DESC [ RunTime:0.002236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12511571 LIMIT 2 [ RunTime:0.001689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12511571 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='2108074-2' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19668156 LIMIT 4 [ RunTime:0.000957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19668156 ORDER BY `minOrder` ASC [ RunTime:0.004561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19668156 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19668156 LIMIT 2 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19668156 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='2106136-4' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32277582 LIMIT 4 [ RunTime:0.001396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277582 ORDER BY `minOrder` ASC [ RunTime:0.000755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32277582 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32277582 LIMIT 2 [ RunTime:0.001578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277582 ORDER BY `minOrder` ASC [ RunTime:0.004202s ]
select * from pdf where partno='2106091-3' and brandshort='te connectivity / p&b' limit 1 [ RunTime:0.001369s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106091-3' OR `brand` LIKE 'te connectivity / p&b%' ) ) LIMIT 1 [ RunTime:0.002090s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32163080 LIMIT 4 [ RunTime:0.000700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32163080 ORDER BY `minOrder` ASC [ RunTime:0.000961s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32163080 ORDER BY `unit` DESC [ RunTime:0.000553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32163080 LIMIT 2 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32163080 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
select * from pdf where partno='2106091-3' and brandshort='te connectivity / p&b' limit 1 [ RunTime:0.000490s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106091-3' OR `brand` LIKE 'te connectivity / p&b%' ) ) LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11985897 LIMIT 4 [ RunTime:0.000706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11985897 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11985897 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11985897 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11985897 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32267840 LIMIT 4 [ RunTime:0.000596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32267840 ORDER BY `minOrder` ASC [ RunTime:0.000864s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32267840 ORDER BY `unit` DESC [ RunTime:0.001530s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32267840 LIMIT 2 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32267840 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='2103155-2' and brandshort='te connectivity' limit 1 [ RunTime:0.001900s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2103155-2' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.013571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11987439 LIMIT 4 [ RunTime:0.000808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11987439 ORDER BY `minOrder` ASC [ RunTime:0.000609s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11987439 ORDER BY `unit` DESC [ RunTime:0.001621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11987439 LIMIT 2 [ RunTime:0.000900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11987439 ORDER BY `minOrder` ASC [ RunTime:0.003028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15473454 LIMIT 4 [ RunTime:0.003592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15473454 ORDER BY `minOrder` ASC [ RunTime:0.002625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15473454 ORDER BY `unit` DESC [ RunTime:0.000563s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15473454 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15473454 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '210%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.043586s ]