SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001928s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000484s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002150s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.001520s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001851s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000707s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000333s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000230s ]
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.000430s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002228s ]
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 ( `partno` LIKE 'S6X8ES%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004654s ]
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 ('5145969','9216','8553840','6932715','6932714','6932713','5970325','5970320','5145828','5145827') ORDER BY FIELD(s.id, 5145969,9216,8553840,6932715,6932714,6932713,5970325,5970320,5145828,5145827) [ RunTime:0.003980s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001531s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5145969 LIMIT 4 [ RunTime:0.007684s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145969 ORDER BY `minOrder` ASC [ RunTime:0.001795s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5145969 ORDER BY `unit` DESC [ RunTime:0.001091s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001063s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5145969 LIMIT 2 [ RunTime:0.000929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145969 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9216 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9216 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9216 LIMIT 2 [ RunTime:0.010084s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000549s ]
select * from pdf where partno='S6X8ES' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001961s ]
select foldpath,foldpath2,filename from pdf_file where id=626060 limit 1 [ RunTime:0.000754s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S6X8ES' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007595s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8553840 LIMIT 4 [ RunTime:0.003659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8553840 ORDER BY `minOrder` ASC [ RunTime:0.003318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8553840 ORDER BY `unit` DESC [ RunTime:0.003302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8553840 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8553840 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6932715 LIMIT 4 [ RunTime:0.000635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932715 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6932715 ORDER BY `unit` DESC [ RunTime:0.003316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6932715 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932715 ORDER BY `minOrder` ASC [ RunTime:0.002226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6932714 LIMIT 4 [ RunTime:0.002458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932714 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6932714 ORDER BY `unit` DESC [ RunTime:0.001561s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6932714 LIMIT 2 [ RunTime:0.005181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932714 ORDER BY `minOrder` ASC [ RunTime:0.001864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6932713 LIMIT 4 [ RunTime:0.001446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932713 ORDER BY `minOrder` ASC [ RunTime:0.001582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6932713 ORDER BY `unit` DESC [ RunTime:0.005583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6932713 LIMIT 2 [ RunTime:0.001864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932713 ORDER BY `minOrder` ASC [ RunTime:0.001925s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5970325 LIMIT 4 [ RunTime:0.004961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5970325 ORDER BY `minOrder` ASC [ RunTime:0.003992s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5970325 ORDER BY `unit` DESC [ RunTime:0.000531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5970325 LIMIT 2 [ RunTime:0.009880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5970325 ORDER BY `minOrder` ASC [ RunTime:0.007662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5970320 LIMIT 4 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5970320 ORDER BY `minOrder` ASC [ RunTime:0.000508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5970320 ORDER BY `unit` DESC [ RunTime:0.010783s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5970320 LIMIT 2 [ RunTime:0.003125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5970320 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5145828 LIMIT 4 [ RunTime:0.001813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145828 ORDER BY `minOrder` ASC [ RunTime:0.000658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5145828 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5145828 LIMIT 2 [ RunTime:0.002643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145828 ORDER BY `minOrder` ASC [ RunTime:0.003582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5145827 LIMIT 4 [ RunTime:0.000748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145827 ORDER BY `minOrder` ASC [ RunTime:0.001435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5145827 ORDER BY `unit` DESC [ RunTime:0.001472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5145827 LIMIT 2 [ RunTime:0.001112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145827 ORDER BY `minOrder` ASC [ RunTime:0.001212s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'S6X8ES%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003686s ]