SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001275s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006449s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15726379 LIMIT 5 [ RunTime:0.006521s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15726379 ORDER BY `minOrder` ASC [ RunTime:0.002502s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15726379 ORDER BY `unit` DESC [ RunTime:0.003777s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001103s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15726379 LIMIT 2 [ RunTime:0.005033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15726379 ORDER BY `minOrder` ASC [ RunTime:0.002052s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005124s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33008848 LIMIT 5 [ RunTime:0.013456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33008848 ORDER BY `minOrder` ASC [ RunTime:0.013330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33008848 ORDER BY `unit` DESC [ RunTime:0.001649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33008848 LIMIT 2 [ RunTime:0.006322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33008848 ORDER BY `minOrder` ASC [ RunTime:0.003745s ]
select * from pdf where partno='CRCW0603270RJNECC' and brandshort='Vishay Dale' limit 1 [ RunTime:0.004108s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001614s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW0603270RJNECC' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.005995s ]
SELECT `id` FROM `stock` WHERE `id` <> 33008848 AND `partno` = 'CRCW0603270RJNECC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.004092s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15726379 [ RunTime:0.004369s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001436s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001317s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001421s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001362s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001611s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001376s ]
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 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001407s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CRCW0603270RJNECC%' OR `brand` LIKE 'CRCW0603270RJNECC%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002196s ]