SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002455s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021759s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14378395 LIMIT 5 [ RunTime:0.014030s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14378395 ORDER BY `minOrder` ASC [ RunTime:0.010446s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14378395 ORDER BY `unit` DESC [ RunTime:0.006799s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.016619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14378395 LIMIT 2 [ RunTime:0.048991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14378395 ORDER BY `minOrder` ASC [ RunTime:0.038870s ]
select * from pdf where partno='1554311004' and brandshort='Molex' limit 1 [ RunTime:0.035808s ]
select foldpath,foldpath2,filename from pdf_file where id=1517214 limit 1 [ RunTime:0.024557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13515467 LIMIT 5 [ RunTime:0.049881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13515467 ORDER BY `minOrder` ASC [ RunTime:0.085049s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13515467 ORDER BY `unit` DESC [ RunTime:0.076536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13515467 LIMIT 2 [ RunTime:0.034148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13515467 ORDER BY `minOrder` ASC [ RunTime:0.084167s ]
select * from pdf where partno='1554311004' and brandshort='Molex' limit 1 [ RunTime:0.017946s ]
select foldpath,foldpath2,filename from pdf_file where id=1517214 limit 1 [ RunTime:0.023525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13515610 LIMIT 5 [ RunTime:0.026197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13515610 ORDER BY `minOrder` ASC [ RunTime:0.038947s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13515610 ORDER BY `unit` DESC [ RunTime:0.012826s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13515610 LIMIT 2 [ RunTime:0.033703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13515610 ORDER BY `minOrder` ASC [ RunTime:0.020260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13516275 LIMIT 5 [ RunTime:0.061246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13516275 ORDER BY `minOrder` ASC [ RunTime:0.114995s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13516275 ORDER BY `unit` DESC [ RunTime:0.039896s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13516275 LIMIT 2 [ RunTime:0.031485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13516275 ORDER BY `minOrder` ASC [ RunTime:0.039918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14383224 LIMIT 5 [ RunTime:0.040154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383224 ORDER BY `minOrder` ASC [ RunTime:0.046749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14383224 ORDER BY `unit` DESC [ RunTime:0.043454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14383224 LIMIT 2 [ RunTime:0.033402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383224 ORDER BY `minOrder` ASC [ RunTime:0.020404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16410091 LIMIT 5 [ RunTime:0.040415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16410091 ORDER BY `minOrder` ASC [ RunTime:0.029652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16410091 ORDER BY `unit` DESC [ RunTime:0.011485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16410091 LIMIT 2 [ RunTime:0.028092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16410091 ORDER BY `minOrder` ASC [ RunTime:0.023946s ]
select * from pdf where partno='1554311004' and brandshort='Molex' limit 1 [ RunTime:0.018374s ]
select foldpath,foldpath2,filename from pdf_file where id=1517214 limit 1 [ RunTime:0.014460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13511965 LIMIT 5 [ RunTime:0.021890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511965 ORDER BY `minOrder` ASC [ RunTime:0.005670s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13511965 ORDER BY `unit` DESC [ RunTime:0.007913s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13511965 LIMIT 2 [ RunTime:0.006443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511965 ORDER BY `minOrder` ASC [ RunTime:0.017524s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018979s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63038271 LIMIT 5 [ RunTime:0.021449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63038271 ORDER BY `minOrder` ASC [ RunTime:0.009419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63038271 ORDER BY `unit` DESC [ RunTime:0.008360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63038271 LIMIT 2 [ RunTime:0.030764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63038271 ORDER BY `minOrder` ASC [ RunTime:0.007506s ]
select * from pdf where partno='1554311004' and brandshort='Molex' limit 1 [ RunTime:0.004379s ]
select foldpath,foldpath2,filename from pdf_file where id=1517214 limit 1 [ RunTime:0.003486s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1554311004' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.036303s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049739s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010304s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015878s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019141s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014167s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006137s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018637s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554311004%' OR `brand` LIKE '1554311004%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005540s ]