SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001985s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000872s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002051s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000317s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001831s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 282 LIMIT 1 [ RunTime:0.000335s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 282 [ RunTime:0.000249s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.003297s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002032s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 282 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003543s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('2529','4349','4348','13674','2546','3270','4723','4384','2547','4347','13676','2157','2162','443','14673','2160','2552','11571','11321','2531') ORDER BY FIELD(s.id, 2529,4349,4348,13674,2546,3270,4723,4384,2547,4347,13676,2157,2162,443,14673,2160,2552,11571,11321,2531) [ RunTime:0.014906s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2529 LIMIT 4 [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2529 ORDER BY `minOrder` ASC [ RunTime:0.000535s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2529 ORDER BY `unit` DESC [ RunTime:0.000808s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002706s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2529 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2529 ORDER BY `minOrder` ASC [ RunTime:0.004105s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001057s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-2' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.001000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4349 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4349 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4349 ORDER BY `unit` DESC [ RunTime:0.014520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4349 LIMIT 2 [ RunTime:0.009101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4349 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-04V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000364s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4348 LIMIT 4 [ RunTime:0.009857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4348 ORDER BY `minOrder` ASC [ RunTime:0.006315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4348 ORDER BY `unit` DESC [ RunTime:0.000502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4348 LIMIT 2 [ RunTime:0.003305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4348 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-03V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000874s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13674 LIMIT 4 [ RunTime:0.001454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13674 ORDER BY `minOrder` ASC [ RunTime:0.000571s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13674 ORDER BY `unit` DESC [ RunTime:0.000519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13674 LIMIT 2 [ RunTime:0.010292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13674 ORDER BY `minOrder` ASC [ RunTime:0.003761s ]
select * from pdf where partno='43025-0400' and brandshort='MOLEX' limit 1 [ RunTime:0.002040s ]
select foldpath,foldpath2,filename from pdf_file where id=761289 limit 1 [ RunTime:0.006175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.019760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2546 LIMIT 4 [ RunTime:0.007455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2546 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2546 ORDER BY `unit` DESC [ RunTime:0.003620s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2546 LIMIT 2 [ RunTime:0.004863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2546 ORDER BY `minOrder` ASC [ RunTime:0.000503s ]
select * from pdf where partno='39-01-2020' and brandshort='MOLEX' limit 1 [ RunTime:0.003319s ]
select foldpath,foldpath2,filename from pdf_file where id=850267 limit 1 [ RunTime:0.002947s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.017172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3270 LIMIT 4 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3270 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3270 ORDER BY `unit` DESC [ RunTime:0.002568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3270 LIMIT 2 [ RunTime:0.001915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3270 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1375820-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004102s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4723 LIMIT 4 [ RunTime:0.002767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4723 ORDER BY `minOrder` ASC [ RunTime:0.005848s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4723 ORDER BY `unit` DESC [ RunTime:0.003770s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4723 LIMIT 2 [ RunTime:0.003229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4723 ORDER BY `minOrder` ASC [ RunTime:0.000917s ]
select * from pdf where partno='953697-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '953697-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4384 LIMIT 4 [ RunTime:0.000802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4384 ORDER BY `minOrder` ASC [ RunTime:0.000929s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4384 ORDER BY `unit` DESC [ RunTime:0.000674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4384 LIMIT 2 [ RunTime:0.000645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4384 ORDER BY `minOrder` ASC [ RunTime:0.002505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VHR-5N' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.001256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2547 LIMIT 4 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2547 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2547 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2547 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2547 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
select * from pdf where partno='39-01-2040' and brandshort='MOLEX' limit 1 [ RunTime:0.000618s ]
select foldpath,foldpath2,filename from pdf_file where id=827354 limit 1 [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2040' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4347 LIMIT 4 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4347 ORDER BY `minOrder` ASC [ RunTime:0.001409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4347 ORDER BY `unit` DESC [ RunTime:0.003889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4347 LIMIT 2 [ RunTime:0.002516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4347 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-02V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.004762s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13676 LIMIT 4 [ RunTime:0.005111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13676 ORDER BY `minOrder` ASC [ RunTime:0.000879s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13676 ORDER BY `unit` DESC [ RunTime:0.000494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13676 LIMIT 2 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13676 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
select * from pdf where partno='43025-0800' and brandshort='MOLEX' limit 1 [ RunTime:0.003885s ]
select foldpath,foldpath2,filename from pdf_file where id=827943 limit 1 [ RunTime:0.004132s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-0800' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.014177s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2157 LIMIT 4 [ RunTime:0.000760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2157 ORDER BY `minOrder` ASC [ RunTime:0.003615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2157 ORDER BY `unit` DESC [ RunTime:0.004345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2157 LIMIT 2 [ RunTime:0.001933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2157 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-1023' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.014592s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2162 LIMIT 4 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2162 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2162 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2162 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2162 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-2023' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 443 LIMIT 4 [ RunTime:0.002703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 443 ORDER BY `minOrder` ASC [ RunTime:0.000508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 443 ORDER BY `unit` DESC [ RunTime:0.000530s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 443 LIMIT 2 [ RunTime:0.002428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 443 ORDER BY `minOrder` ASC [ RunTime:0.004667s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640440-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14673 LIMIT 4 [ RunTime:0.001059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14673 ORDER BY `minOrder` ASC [ RunTime:0.010718s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14673 ORDER BY `unit` DESC [ RunTime:0.006583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14673 LIMIT 2 [ RunTime:0.005449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14673 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
select * from pdf where partno='51021-0400' and brandshort='MOLEX' limit 1 [ RunTime:0.003781s ]
select foldpath,foldpath2,filename from pdf_file where id=824931 limit 1 [ RunTime:0.000689s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51021-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012753s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2160 LIMIT 4 [ RunTime:0.002606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2160 ORDER BY `minOrder` ASC [ RunTime:0.006198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2160 ORDER BY `unit` DESC [ RunTime:0.000618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2160 LIMIT 2 [ RunTime:0.000897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2160 ORDER BY `minOrder` ASC [ RunTime:0.001424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-1032' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.009602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2552 LIMIT 4 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2552 ORDER BY `minOrder` ASC [ RunTime:0.001229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2552 ORDER BY `unit` DESC [ RunTime:0.000984s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2552 LIMIT 2 [ RunTime:0.003996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2552 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='39-01-2041' and brandshort='MOLEX' limit 1 [ RunTime:0.001101s ]
select foldpath,foldpath2,filename from pdf_file where id=850255 limit 1 [ RunTime:0.000395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2041' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005836s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11571 LIMIT 4 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11571 ORDER BY `minOrder` ASC [ RunTime:0.002147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11571 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11571 LIMIT 2 [ RunTime:0.004775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11571 ORDER BY `minOrder` ASC [ RunTime:0.002944s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-969508-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.013484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11321 LIMIT 4 [ RunTime:0.008668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11321 ORDER BY `minOrder` ASC [ RunTime:0.001699s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11321 ORDER BY `unit` DESC [ RunTime:0.000459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11321 LIMIT 2 [ RunTime:0.001989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11321 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMP-02V-NC' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.004641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2531 LIMIT 4 [ RunTime:0.002887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2531 ORDER BY `minOrder` ASC [ RunTime:0.002100s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2531 ORDER BY `unit` DESC [ RunTime:0.000743s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2531 LIMIT 2 [ RunTime:0.003043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2531 ORDER BY `minOrder` ASC [ RunTime:0.011797s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-5' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.010529s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 282 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007224s ]