SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001865s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009280s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.014943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16861901 LIMIT 5 [ RunTime:0.030455s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16861901 ORDER BY `minOrder` ASC [ RunTime:0.045806s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.013440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16861901 ORDER BY `unit` DESC [ RunTime:0.013086s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.028057s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16861901 LIMIT 2 [ RunTime:0.012612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16861901 ORDER BY `minOrder` ASC [ RunTime:0.007819s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033313s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38449320 LIMIT 5 [ RunTime:0.025079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38449320 ORDER BY `minOrder` ASC [ RunTime:0.067250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38449320 ORDER BY `unit` DESC [ RunTime:0.058756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38449320 LIMIT 2 [ RunTime:0.063672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38449320 ORDER BY `minOrder` ASC [ RunTime:0.023680s ]
select * from pdf where partno='CRCW1218130RJNEK' and brandshort='Vishay Dale' limit 1 [ RunTime:0.029141s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003372s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW1218130RJNEK' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.048490s ]
SELECT `id` FROM `stock` WHERE `id` <> 38449320 AND `partno` = 'CRCW1218130RJNEK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.030167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16861901 [ RunTime:0.020498s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056032s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048576s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054714s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034912s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031619s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034692s ]
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 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027788s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CRCW1218130RJNEK%' OR `brand` LIKE 'CRCW1218130RJNEK%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.044893s ]