SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002079s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000244s ]
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.000382s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002289s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'MCWR06X2200FTL%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.006606s ]
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 'MCWR06X2200FTL%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005315s ]
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 ('7244','7283','16775','15756') ORDER BY FIELD(s.id, 7244,7283,16775,15756) [ RunTime:0.001377s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7244 LIMIT 4 [ RunTime:0.002089s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7244 ORDER BY `minOrder` ASC [ RunTime:0.001978s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7244 ORDER BY `unit` DESC [ RunTime:0.000597s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001952s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7244 LIMIT 2 [ RunTime:0.007948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7244 ORDER BY `minOrder` ASC [ RunTime:0.002595s ]
select * from pdf where partno='MCWR06X2200FTL' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.007220s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001798s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCWR06X2200FTL' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.008630s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7283 LIMIT 4 [ RunTime:0.000773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7283 ORDER BY `minOrder` ASC [ RunTime:0.000492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7283 ORDER BY `unit` DESC [ RunTime:0.000731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7283 LIMIT 2 [ RunTime:0.004574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7283 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
select * from pdf where partno='MCWR06X2200FTL' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCWR06X2200FTL' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16775 LIMIT 4 [ RunTime:0.003090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16775 ORDER BY `minOrder` ASC [ RunTime:0.001094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16775 ORDER BY `unit` DESC [ RunTime:0.000494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16775 LIMIT 2 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16775 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
select * from pdf where partno='MCWR06X2200FTL' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCWR06X2200FTL' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15756 LIMIT 4 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15756 ORDER BY `minOrder` ASC [ RunTime:0.004947s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15756 ORDER BY `unit` DESC [ RunTime:0.002799s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15756 LIMIT 2 [ RunTime:0.002762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15756 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='MCWR06X2200FTL' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002657s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCWR06X2200FTL' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000337s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'MCWR06X2200FTL%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002402s ]