SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001676s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000466s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001405s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.25' ) [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001045s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000193s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000152s ]
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.000276s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002711s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'SMCJ5.0A%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.000485s ]
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 'SMCJ5.0A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,20 [ RunTime:0.003829s ]
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 ('4770066','16782','15763','10092130','4825','6651398','6651188','6651187','6647592','6644939','6641379','4800706','4800340','4798929','4782983','4782787','4782368','4782161','4779426','4336856') ORDER BY FIELD(s.id, 4770066,16782,15763,10092130,4825,6651398,6651188,6651187,6647592,6644939,6641379,4800706,4800340,4798929,4782983,4782787,4782368,4782161,4779426,4336856) [ RunTime:0.007693s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4770066 LIMIT 4 [ RunTime:0.000521s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770066 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4770066 ORDER BY `unit` DESC [ RunTime:0.000492s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4770066 LIMIT 2 [ RunTime:0.001272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770066 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16782 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16782 ORDER BY `minOrder` ASC [ RunTime:0.000992s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16782 ORDER BY `unit` DESC [ RunTime:0.000678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16782 LIMIT 2 [ RunTime:0.002154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16782 ORDER BY `minOrder` ASC [ RunTime:0.001284s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='BOURNS' limit 1 [ RunTime:0.004427s ]
select foldpath,foldpath2,filename from pdf_file where id=951223 limit 1 [ RunTime:0.000458s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002966s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000797s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15763 LIMIT 4 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15763 ORDER BY `minOrder` ASC [ RunTime:0.004505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15763 ORDER BY `unit` DESC [ RunTime:0.004313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15763 LIMIT 2 [ RunTime:0.004339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15763 ORDER BY `minOrder` ASC [ RunTime:0.001912s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='BOURNS' limit 1 [ RunTime:0.000394s ]
select foldpath,foldpath2,filename from pdf_file where id=951223 limit 1 [ RunTime:0.000286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10092130 LIMIT 4 [ RunTime:0.000944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092130 ORDER BY `minOrder` ASC [ RunTime:0.000739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10092130 ORDER BY `unit` DESC [ RunTime:0.002214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10092130 LIMIT 2 [ RunTime:0.001385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092130 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='Littelfuse' limit 1 [ RunTime:0.004436s ]
select foldpath,foldpath2,filename from pdf_file where id=421808 limit 1 [ RunTime:0.000922s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'Littelfuse(美国力特)%' ) ) LIMIT 1 [ RunTime:0.010847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4825 LIMIT 4 [ RunTime:0.006561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4825 ORDER BY `minOrder` ASC [ RunTime:0.001816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4825 ORDER BY `unit` DESC [ RunTime:0.003137s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4825 LIMIT 2 [ RunTime:0.001004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4825 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001077s ]
select foldpath,foldpath2,filename from pdf_file where id=421808 limit 1 [ RunTime:0.001882s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.009375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651398 LIMIT 4 [ RunTime:0.005419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651398 ORDER BY `minOrder` ASC [ RunTime:0.000883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651398 ORDER BY `unit` DESC [ RunTime:0.006115s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651398 LIMIT 2 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651398 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651188 LIMIT 4 [ RunTime:0.000807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651188 ORDER BY `minOrder` ASC [ RunTime:0.012150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651188 ORDER BY `unit` DESC [ RunTime:0.003222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651188 LIMIT 2 [ RunTime:0.002083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651188 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651187 LIMIT 4 [ RunTime:0.003898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651187 ORDER BY `minOrder` ASC [ RunTime:0.000640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651187 ORDER BY `unit` DESC [ RunTime:0.000556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651187 LIMIT 2 [ RunTime:0.001146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651187 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6647592 LIMIT 4 [ RunTime:0.006330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6647592 ORDER BY `minOrder` ASC [ RunTime:0.003053s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6647592 ORDER BY `unit` DESC [ RunTime:0.002573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6647592 LIMIT 2 [ RunTime:0.002521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6647592 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6644939 LIMIT 4 [ RunTime:0.000954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644939 ORDER BY `minOrder` ASC [ RunTime:0.014213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6644939 ORDER BY `unit` DESC [ RunTime:0.008953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6644939 LIMIT 2 [ RunTime:0.004999s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644939 ORDER BY `minOrder` ASC [ RunTime:0.000820s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6641379 LIMIT 4 [ RunTime:0.001013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641379 ORDER BY `minOrder` ASC [ RunTime:0.002103s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6641379 ORDER BY `unit` DESC [ RunTime:0.009440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6641379 LIMIT 2 [ RunTime:0.000641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641379 ORDER BY `minOrder` ASC [ RunTime:0.000548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4800706 LIMIT 4 [ RunTime:0.001280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4800706 ORDER BY `minOrder` ASC [ RunTime:0.000606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4800706 ORDER BY `unit` DESC [ RunTime:0.000714s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4800706 LIMIT 2 [ RunTime:0.003553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4800706 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4800340 LIMIT 4 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4800340 ORDER BY `minOrder` ASC [ RunTime:0.004320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4800340 ORDER BY `unit` DESC [ RunTime:0.013598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4800340 LIMIT 2 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4800340 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4798929 LIMIT 4 [ RunTime:0.002945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4798929 ORDER BY `minOrder` ASC [ RunTime:0.002216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4798929 ORDER BY `unit` DESC [ RunTime:0.001110s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4798929 LIMIT 2 [ RunTime:0.000924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4798929 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782983 LIMIT 4 [ RunTime:0.000771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782983 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782983 ORDER BY `unit` DESC [ RunTime:0.002161s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782983 LIMIT 2 [ RunTime:0.009696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782983 ORDER BY `minOrder` ASC [ RunTime:0.002674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782787 LIMIT 4 [ RunTime:0.006293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782787 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782787 ORDER BY `unit` DESC [ RunTime:0.005514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782787 LIMIT 2 [ RunTime:0.000959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782787 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782368 LIMIT 4 [ RunTime:0.000702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782368 ORDER BY `minOrder` ASC [ RunTime:0.005329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782368 ORDER BY `unit` DESC [ RunTime:0.007485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782368 LIMIT 2 [ RunTime:0.001257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782368 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782161 LIMIT 4 [ RunTime:0.000779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782161 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782161 ORDER BY `unit` DESC [ RunTime:0.002017s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782161 LIMIT 2 [ RunTime:0.003262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782161 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='SMCJ5.0A-T7' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.001066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4779426 LIMIT 4 [ RunTime:0.002155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4779426 ORDER BY `minOrder` ASC [ RunTime:0.001326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4779426 ORDER BY `unit` DESC [ RunTime:0.001079s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4779426 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4779426 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4336856 LIMIT 4 [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4336856 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4336856 ORDER BY `unit` DESC [ RunTime:0.002102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4336856 LIMIT 2 [ RunTime:0.002624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4336856 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SMCJ5.0A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000331s ]