SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001256s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005062s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001817s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.021023s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002235s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.014849s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001207s ]
SELECT * FROM `stock_search` WHERE `partno` = 'ABM2S-A-C' LIMIT 1 [ RunTime:0.006803s ]
UPDATE `stock_search` SET `count` = 2786 , `updatetime` = '2026-03-02 03:50:49' WHERE `partno` = 'ABM2S-A-C' [ RunTime:0.005594s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.008291s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.001811s ]
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.000415s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003548s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'ABM2S-A-C%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.006498s ]
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 'ABM2S-A-C%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005629s ]
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 ('16420259','14406416','14406454','127','13535843','13536161') ORDER BY FIELD(s.id, 16420259,14406416,14406454,127,13535843,13536161) [ RunTime:0.010259s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16420259 LIMIT 4 [ RunTime:0.021853s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16420259 ORDER BY `minOrder` ASC [ RunTime:0.036122s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16420259 ORDER BY `unit` DESC [ RunTime:0.024921s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.011379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16420259 LIMIT 2 [ RunTime:0.010040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16420259 ORDER BY `minOrder` ASC [ RunTime:0.006828s ]
select * from pdf where partno='ABM2S-A-C' and brandshort='Panduit Corp' limit 1 [ RunTime:0.003542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14406416 LIMIT 4 [ RunTime:0.012559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14406416 ORDER BY `minOrder` ASC [ RunTime:0.021683s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14406416 ORDER BY `unit` DESC [ RunTime:0.035926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14406416 LIMIT 2 [ RunTime:0.015040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14406416 ORDER BY `minOrder` ASC [ RunTime:0.028896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14406454 LIMIT 4 [ RunTime:0.007584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14406454 ORDER BY `minOrder` ASC [ RunTime:0.004489s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14406454 ORDER BY `unit` DESC [ RunTime:0.008650s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14406454 LIMIT 2 [ RunTime:0.016360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14406454 ORDER BY `minOrder` ASC [ RunTime:0.003361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 127 LIMIT 4 [ RunTime:0.043876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.008675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 127 ORDER BY `unit` DESC [ RunTime:0.043010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 127 LIMIT 2 [ RunTime:0.028596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.018195s ]
select * from pdf where partno='ABM2S-A-C' and brandshort='PANDUIT' limit 1 [ RunTime:0.035888s ]
select foldpath,foldpath2,filename from pdf_file where id=2042215 limit 1 [ RunTime:0.021536s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002497s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABM2S-A-C' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.033500s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13535843 LIMIT 4 [ RunTime:0.030671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13535843 ORDER BY `minOrder` ASC [ RunTime:0.017121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13535843 ORDER BY `unit` DESC [ RunTime:0.020227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13535843 LIMIT 2 [ RunTime:0.058585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13535843 ORDER BY `minOrder` ASC [ RunTime:0.024126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13536161 LIMIT 4 [ RunTime:0.040686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13536161 ORDER BY `minOrder` ASC [ RunTime:0.034426s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13536161 ORDER BY `unit` DESC [ RunTime:0.016739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13536161 LIMIT 2 [ RunTime:0.018489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13536161 ORDER BY `minOrder` ASC [ RunTime:0.001482s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'ABM2S-A-C%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001656s ]