SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002384s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000570s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001642s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.131' ) [ RunTime:0.000338s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001457s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000238s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002530s ]
SELECT * FROM `stock_search` WHERE `partno` = '980' LIMIT 1 [ RunTime:0.006855s ]
UPDATE `stock_search` SET `count` = 21 , `updatetime` = '2026-06-05 09:53:09' WHERE `partno` = '980' [ RunTime:0.001392s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.012104s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000323s ]
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.000529s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002356s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '980%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.005238s ]
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 '980%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 200,20 [ RunTime:0.055426s ]
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 ('32269965','32207444','18768749','11332241','32186060','14909578','32207962','18768771','17009868','17009867','32507108','32283045','15248620','33130216','18768772','13986785','13229857','12185794','32474852','19508272') ORDER BY FIELD(s.id, 32269965,32207444,18768749,11332241,32186060,14909578,32207962,18768771,17009868,17009867,32507108,32283045,15248620,33130216,18768772,13986785,13229857,12185794,32474852,19508272) [ RunTime:0.042105s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32269965 LIMIT 4 [ RunTime:0.036239s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32269965 ORDER BY `minOrder` ASC [ RunTime:0.024453s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32269965 ORDER BY `unit` DESC [ RunTime:0.010507s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.008518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32269965 LIMIT 2 [ RunTime:0.013168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32269965 ORDER BY `minOrder` ASC [ RunTime:0.000485s ]
select * from pdf where partno='980-0004-806' and brandshort='itt cannon' limit 1 [ RunTime:0.004874s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003695s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '980-0004-806' OR `brand` LIKE 'itt cannon%' ) ) LIMIT 1 [ RunTime:0.019284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32207444 LIMIT 4 [ RunTime:0.011575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32207444 ORDER BY `minOrder` ASC [ RunTime:0.042658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32207444 ORDER BY `unit` DESC [ RunTime:0.017594s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32207444 LIMIT 2 [ RunTime:0.029815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32207444 ORDER BY `minOrder` ASC [ RunTime:0.013859s ]
select * from pdf where partno='9808 060100' and brandshort='belden wire & cable' limit 1 [ RunTime:0.043361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9808 060100' OR `brand` LIKE 'belden wire & cable%' ) ) LIMIT 1 [ RunTime:0.018983s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18768749 LIMIT 4 [ RunTime:0.015173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18768749 ORDER BY `minOrder` ASC [ RunTime:0.040854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18768749 ORDER BY `unit` DESC [ RunTime:0.060878s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18768749 LIMIT 2 [ RunTime:0.016845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18768749 ORDER BY `minOrder` ASC [ RunTime:0.006866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11332241 LIMIT 4 [ RunTime:0.002121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11332241 ORDER BY `minOrder` ASC [ RunTime:0.023796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11332241 ORDER BY `unit` DESC [ RunTime:0.039927s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11332241 LIMIT 2 [ RunTime:0.011180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11332241 ORDER BY `minOrder` ASC [ RunTime:0.010883s ]
select * from pdf where partno='980E' and brandshort='SCS' limit 1 [ RunTime:0.017228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32186060 LIMIT 4 [ RunTime:0.010228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32186060 ORDER BY `minOrder` ASC [ RunTime:0.022485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32186060 ORDER BY `unit` DESC [ RunTime:0.009378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32186060 LIMIT 2 [ RunTime:0.012650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32186060 ORDER BY `minOrder` ASC [ RunTime:0.009717s ]
select * from pdf where partno='980-f' and brandshort='scs' limit 1 [ RunTime:0.013195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '980-f' OR `brand` LIKE 'scs%' ) ) LIMIT 1 [ RunTime:0.007345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14909578 LIMIT 4 [ RunTime:0.013643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909578 ORDER BY `minOrder` ASC [ RunTime:0.013691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14909578 ORDER BY `unit` DESC [ RunTime:0.029100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14909578 LIMIT 2 [ RunTime:0.020580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909578 ORDER BY `minOrder` ASC [ RunTime:0.008351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32207962 LIMIT 4 [ RunTime:0.023049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32207962 ORDER BY `minOrder` ASC [ RunTime:0.024087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32207962 ORDER BY `unit` DESC [ RunTime:0.016260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32207962 LIMIT 2 [ RunTime:0.029060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32207962 ORDER BY `minOrder` ASC [ RunTime:0.004422s ]
select * from pdf where partno='9807 060100' and brandshort='belden wire & cable' limit 1 [ RunTime:0.030397s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9807 060100' OR `brand` LIKE 'belden wire & cable%' ) ) LIMIT 1 [ RunTime:0.032016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18768771 LIMIT 4 [ RunTime:0.029988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18768771 ORDER BY `minOrder` ASC [ RunTime:0.039649s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18768771 ORDER BY `unit` DESC [ RunTime:0.053402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18768771 LIMIT 2 [ RunTime:0.046344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18768771 ORDER BY `minOrder` ASC [ RunTime:0.060663s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17009868 LIMIT 4 [ RunTime:0.031050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17009868 ORDER BY `minOrder` ASC [ RunTime:0.028186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17009868 ORDER BY `unit` DESC [ RunTime:0.030645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17009868 LIMIT 2 [ RunTime:0.030955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17009868 ORDER BY `minOrder` ASC [ RunTime:0.007720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17009867 LIMIT 4 [ RunTime:0.010921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17009867 ORDER BY `minOrder` ASC [ RunTime:0.023353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17009867 ORDER BY `unit` DESC [ RunTime:0.013668s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17009867 LIMIT 2 [ RunTime:0.022045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17009867 ORDER BY `minOrder` ASC [ RunTime:0.007608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32507108 LIMIT 4 [ RunTime:0.017715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32507108 ORDER BY `minOrder` ASC [ RunTime:0.028111s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32507108 ORDER BY `unit` DESC [ RunTime:0.016078s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32507108 LIMIT 2 [ RunTime:0.017874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32507108 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
select * from pdf where partno='98000331763' and brandshort='3M Touch Systems' limit 1 [ RunTime:0.024860s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '98000331763' OR `brand` LIKE '3M Touch Systems%' ) ) LIMIT 1 [ RunTime:0.036220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32283045 LIMIT 4 [ RunTime:0.026148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32283045 ORDER BY `minOrder` ASC [ RunTime:0.016506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32283045 ORDER BY `unit` DESC [ RunTime:0.016225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32283045 LIMIT 2 [ RunTime:0.008771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32283045 ORDER BY `minOrder` ASC [ RunTime:0.002366s ]
select * from pdf where partno='9803' and brandshort='b&k precision' limit 1 [ RunTime:0.002087s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9803' OR `brand` LIKE 'b&k precision%' ) ) LIMIT 1 [ RunTime:0.010592s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15248620 LIMIT 4 [ RunTime:0.021674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15248620 ORDER BY `minOrder` ASC [ RunTime:0.012041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15248620 ORDER BY `unit` DESC [ RunTime:0.019409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15248620 LIMIT 2 [ RunTime:0.012505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15248620 ORDER BY `minOrder` ASC [ RunTime:0.000863s ]
select * from pdf where partno='98000331763' and brandshort='3M Touch Systems' limit 1 [ RunTime:0.006437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33130216 LIMIT 4 [ RunTime:0.009947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33130216 ORDER BY `minOrder` ASC [ RunTime:0.020778s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33130216 ORDER BY `unit` DESC [ RunTime:0.009243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33130216 LIMIT 2 [ RunTime:0.020790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33130216 ORDER BY `minOrder` ASC [ RunTime:0.001902s ]
select * from pdf where partno='98002BT' and brandshort='Klein Tools, Inc.' limit 1 [ RunTime:0.020799s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '98002BT' OR `brand` LIKE 'Klein Tools, Inc.%' ) ) LIMIT 1 [ RunTime:0.007096s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18768772 LIMIT 4 [ RunTime:0.022711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18768772 ORDER BY `minOrder` ASC [ RunTime:0.006196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18768772 ORDER BY `unit` DESC [ RunTime:0.010557s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18768772 LIMIT 2 [ RunTime:0.012181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18768772 ORDER BY `minOrder` ASC [ RunTime:0.009865s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13986785 LIMIT 4 [ RunTime:0.032987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13986785 ORDER BY `minOrder` ASC [ RunTime:0.015938s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13986785 ORDER BY `unit` DESC [ RunTime:0.003045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13986785 LIMIT 2 [ RunTime:0.005346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13986785 ORDER BY `minOrder` ASC [ RunTime:0.008291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13229857 LIMIT 4 [ RunTime:0.008639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13229857 ORDER BY `minOrder` ASC [ RunTime:0.034518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13229857 ORDER BY `unit` DESC [ RunTime:0.029511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13229857 LIMIT 2 [ RunTime:0.008144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13229857 ORDER BY `minOrder` ASC [ RunTime:0.003603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12185794 LIMIT 4 [ RunTime:0.009648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12185794 ORDER BY `minOrder` ASC [ RunTime:0.035275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12185794 ORDER BY `unit` DESC [ RunTime:0.008005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12185794 LIMIT 2 [ RunTime:0.037673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12185794 ORDER BY `minOrder` ASC [ RunTime:0.001360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32474852 LIMIT 4 [ RunTime:0.024854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32474852 ORDER BY `minOrder` ASC [ RunTime:0.016818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32474852 ORDER BY `unit` DESC [ RunTime:0.014153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32474852 LIMIT 2 [ RunTime:0.016297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32474852 ORDER BY `minOrder` ASC [ RunTime:0.012244s ]
select * from pdf where partno='98044043499' and brandshort='3M' limit 1 [ RunTime:0.017304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '98044043499' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.015143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19508272 LIMIT 4 [ RunTime:0.023372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19508272 ORDER BY `minOrder` ASC [ RunTime:0.005471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19508272 ORDER BY `unit` DESC [ RunTime:0.006836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19508272 LIMIT 2 [ RunTime:0.015349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19508272 ORDER BY `minOrder` ASC [ RunTime:0.000535s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '980%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.010405s ]