SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.005951s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.003444s ]
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.000822s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002662s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'CRCW12060000Z0EA%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.007252s ]
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 'CRCW12060000Z0EA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013650s ]
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 ('5590','2370','5510','16876','15857') ORDER BY FIELD(s.id, 5590,2370,5510,16876,15857) [ RunTime:0.018316s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003217s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5590 LIMIT 4 [ RunTime:0.006084s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5590 ORDER BY `minOrder` ASC [ RunTime:0.006812s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5590 ORDER BY `unit` DESC [ RunTime:0.005786s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000921s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5590 LIMIT 2 [ RunTime:0.001941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5590 ORDER BY `minOrder` ASC [ RunTime:0.001184s ]
select * from pdf where partno='CRCW12060000Z0EA' and brandshort='VISHAY' limit 1 [ RunTime:0.001178s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.001271s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.003884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2370 LIMIT 4 [ RunTime:0.007836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2370 ORDER BY `minOrder` ASC [ RunTime:0.004936s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2370 ORDER BY `unit` DESC [ RunTime:0.002135s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2370 LIMIT 2 [ RunTime:0.005628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2370 ORDER BY `minOrder` ASC [ RunTime:0.014136s ]
select * from pdf where partno='CRCW12060000Z0EA' and brandshort='VISHAY' limit 1 [ RunTime:0.007127s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.000430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.002848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5510 LIMIT 4 [ RunTime:0.012070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5510 ORDER BY `minOrder` ASC [ RunTime:0.011402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5510 ORDER BY `unit` DESC [ RunTime:0.012990s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5510 LIMIT 2 [ RunTime:0.009196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5510 ORDER BY `minOrder` ASC [ RunTime:0.007323s ]
select * from pdf where partno='CRCW12060000Z0EAHP' and brandshort='VISHAY' limit 1 [ RunTime:0.014071s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.005648s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EAHP' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.019657s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16876 LIMIT 4 [ RunTime:0.010101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16876 ORDER BY `minOrder` ASC [ RunTime:0.007105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16876 ORDER BY `unit` DESC [ RunTime:0.001223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16876 LIMIT 2 [ RunTime:0.013848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16876 ORDER BY `minOrder` ASC [ RunTime:0.001783s ]
select * from pdf where partno='CRCW12060000Z0EAHP' and brandshort='VISHAY' limit 1 [ RunTime:0.002093s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.012133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EAHP' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15857 LIMIT 4 [ RunTime:0.008050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15857 ORDER BY `minOrder` ASC [ RunTime:0.008716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15857 ORDER BY `unit` DESC [ RunTime:0.002743s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15857 LIMIT 2 [ RunTime:0.006044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15857 ORDER BY `minOrder` ASC [ RunTime:0.003183s ]
select * from pdf where partno='CRCW12060000Z0EAHP' and brandshort='VISHAY' limit 1 [ RunTime:0.002112s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EAHP' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000254s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'CRCW12060000Z0EA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.005766s ]