SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001959s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003729s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001931s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.130' ) [ RunTime:0.003472s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001392s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002610s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001531s ]
SELECT * FROM `stock_search` WHERE `partno` = '388' LIMIT 1 [ RunTime:0.026291s ]
UPDATE `stock_search` SET `count` = 22 , `updatetime` = '2026-06-04 16:53:49' WHERE `partno` = '388' [ RunTime:0.009052s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.007754s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.004944s ]
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.006586s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002591s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '388%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.004482s ]
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 '388%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 60,20 [ RunTime:0.022962s ]
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 ('19509331','19509330','19509329','19509320','19509315','19509314','19509284','19509274','19509190','19509174','19509155','19509153','19509126','19509125','19509018','19508692','19508686','18994458','18994031','18914707') ORDER BY FIELD(s.id, 19509331,19509330,19509329,19509320,19509315,19509314,19509284,19509274,19509190,19509174,19509155,19509153,19509126,19509125,19509018,19508692,19508686,18994458,18994031,18914707) [ RunTime:0.018474s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509331 LIMIT 4 [ RunTime:0.022433s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509331 ORDER BY `minOrder` ASC [ RunTime:0.012360s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509331 ORDER BY `unit` DESC [ RunTime:0.007891s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001680s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509331 LIMIT 2 [ RunTime:0.008211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509331 ORDER BY `minOrder` ASC [ RunTime:0.008267s ]
select * from pdf where partno='38826' and brandshort='Protektive Pak' limit 1 [ RunTime:0.011823s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509330 LIMIT 4 [ RunTime:0.007579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509330 ORDER BY `minOrder` ASC [ RunTime:0.009813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509330 ORDER BY `unit` DESC [ RunTime:0.012006s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509330 LIMIT 2 [ RunTime:0.007798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509330 ORDER BY `minOrder` ASC [ RunTime:0.004881s ]
select * from pdf where partno='38817' and brandshort='Protektive Pak' limit 1 [ RunTime:0.009945s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509329 LIMIT 4 [ RunTime:0.011901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509329 ORDER BY `minOrder` ASC [ RunTime:0.015332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509329 ORDER BY `unit` DESC [ RunTime:0.011783s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509329 LIMIT 2 [ RunTime:0.009246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509329 ORDER BY `minOrder` ASC [ RunTime:0.007184s ]
select * from pdf where partno='38814' and brandshort='Protektive Pak' limit 1 [ RunTime:0.013322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509320 LIMIT 4 [ RunTime:0.013309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509320 ORDER BY `minOrder` ASC [ RunTime:0.004178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509320 ORDER BY `unit` DESC [ RunTime:0.008835s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509320 LIMIT 2 [ RunTime:0.013915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509320 ORDER BY `minOrder` ASC [ RunTime:0.006416s ]
select * from pdf where partno='38829' and brandshort='Protektive Pak' limit 1 [ RunTime:0.007325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509315 LIMIT 4 [ RunTime:0.010981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509315 ORDER BY `minOrder` ASC [ RunTime:0.011785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509315 ORDER BY `unit` DESC [ RunTime:0.022416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509315 LIMIT 2 [ RunTime:0.024770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509315 ORDER BY `minOrder` ASC [ RunTime:0.002798s ]
select * from pdf where partno='38812' and brandshort='Protektive Pak' limit 1 [ RunTime:0.016547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509314 LIMIT 4 [ RunTime:0.012981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509314 ORDER BY `minOrder` ASC [ RunTime:0.009384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509314 ORDER BY `unit` DESC [ RunTime:0.010659s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509314 LIMIT 2 [ RunTime:0.019632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509314 ORDER BY `minOrder` ASC [ RunTime:0.010770s ]
select * from pdf where partno='38809' and brandshort='Protektive Pak' limit 1 [ RunTime:0.020743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509284 LIMIT 4 [ RunTime:0.009202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509284 ORDER BY `minOrder` ASC [ RunTime:0.023391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509284 ORDER BY `unit` DESC [ RunTime:0.008344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509284 LIMIT 2 [ RunTime:0.013748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509284 ORDER BY `minOrder` ASC [ RunTime:0.004379s ]
select * from pdf where partno='38821' and brandshort='Protektive Pak' limit 1 [ RunTime:0.009352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509274 LIMIT 4 [ RunTime:0.013622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509274 ORDER BY `minOrder` ASC [ RunTime:0.008083s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509274 ORDER BY `unit` DESC [ RunTime:0.007408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509274 LIMIT 2 [ RunTime:0.012021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509274 ORDER BY `minOrder` ASC [ RunTime:0.000587s ]
select * from pdf where partno='38830' and brandshort='Protektive Pak' limit 1 [ RunTime:0.017620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509190 LIMIT 4 [ RunTime:0.014237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509190 ORDER BY `minOrder` ASC [ RunTime:0.006165s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509190 ORDER BY `unit` DESC [ RunTime:0.003639s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509190 LIMIT 2 [ RunTime:0.014501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509190 ORDER BY `minOrder` ASC [ RunTime:0.005446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509174 LIMIT 4 [ RunTime:0.004821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509174 ORDER BY `minOrder` ASC [ RunTime:0.003349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509174 ORDER BY `unit` DESC [ RunTime:0.005632s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509174 LIMIT 2 [ RunTime:0.003696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509174 ORDER BY `minOrder` ASC [ RunTime:0.007728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509155 LIMIT 4 [ RunTime:0.010260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509155 ORDER BY `minOrder` ASC [ RunTime:0.007039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509155 ORDER BY `unit` DESC [ RunTime:0.019372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509155 LIMIT 2 [ RunTime:0.005697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509155 ORDER BY `minOrder` ASC [ RunTime:0.006661s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509153 LIMIT 4 [ RunTime:0.012871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509153 ORDER BY `minOrder` ASC [ RunTime:0.003981s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509153 ORDER BY `unit` DESC [ RunTime:0.017538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509153 LIMIT 2 [ RunTime:0.015622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509153 ORDER BY `minOrder` ASC [ RunTime:0.006478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509126 LIMIT 4 [ RunTime:0.008586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509126 ORDER BY `minOrder` ASC [ RunTime:0.013179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509126 ORDER BY `unit` DESC [ RunTime:0.008607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509126 LIMIT 2 [ RunTime:0.004294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509126 ORDER BY `minOrder` ASC [ RunTime:0.005544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509125 LIMIT 4 [ RunTime:0.005484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509125 ORDER BY `minOrder` ASC [ RunTime:0.007705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509125 ORDER BY `unit` DESC [ RunTime:0.002320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509125 LIMIT 2 [ RunTime:0.003684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509125 ORDER BY `minOrder` ASC [ RunTime:0.002147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19509018 LIMIT 4 [ RunTime:0.008376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509018 ORDER BY `minOrder` ASC [ RunTime:0.015600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19509018 ORDER BY `unit` DESC [ RunTime:0.008528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19509018 LIMIT 2 [ RunTime:0.005939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19509018 ORDER BY `minOrder` ASC [ RunTime:0.001519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19508692 LIMIT 4 [ RunTime:0.007474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19508692 ORDER BY `minOrder` ASC [ RunTime:0.002110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19508692 ORDER BY `unit` DESC [ RunTime:0.007058s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19508692 LIMIT 2 [ RunTime:0.006183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19508692 ORDER BY `minOrder` ASC [ RunTime:0.000950s ]
select * from pdf where partno='38801' and brandshort='Protektive Pak' limit 1 [ RunTime:0.006933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19508686 LIMIT 4 [ RunTime:0.003293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19508686 ORDER BY `minOrder` ASC [ RunTime:0.002401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19508686 ORDER BY `unit` DESC [ RunTime:0.003213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19508686 LIMIT 2 [ RunTime:0.005065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19508686 ORDER BY `minOrder` ASC [ RunTime:0.005177s ]
select * from pdf where partno='38804' and brandshort='Protektive Pak' limit 1 [ RunTime:0.003222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18994458 LIMIT 4 [ RunTime:0.001483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18994458 ORDER BY `minOrder` ASC [ RunTime:0.001644s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18994458 ORDER BY `unit` DESC [ RunTime:0.001242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18994458 LIMIT 2 [ RunTime:0.001907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18994458 ORDER BY `minOrder` ASC [ RunTime:0.002345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18994031 LIMIT 4 [ RunTime:0.001834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18994031 ORDER BY `minOrder` ASC [ RunTime:0.000832s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18994031 ORDER BY `unit` DESC [ RunTime:0.003143s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18994031 LIMIT 2 [ RunTime:0.001925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18994031 ORDER BY `minOrder` ASC [ RunTime:0.003021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18914707 LIMIT 4 [ RunTime:0.003248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18914707 ORDER BY `minOrder` ASC [ RunTime:0.002536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18914707 ORDER BY `unit` DESC [ RunTime:0.001962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18914707 LIMIT 2 [ RunTime:0.001336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18914707 ORDER BY `minOrder` ASC [ RunTime:0.001071s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '388%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000558s ]