SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002630s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.109956s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.032586s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14391767 LIMIT 5 [ RunTime:0.078971s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.065701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14391767 ORDER BY `minOrder` ASC [ RunTime:0.103525s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.034204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14391767 ORDER BY `unit` DESC [ RunTime:0.067187s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14391767 LIMIT 2 [ RunTime:0.120873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14391767 ORDER BY `minOrder` ASC [ RunTime:0.028609s ]
select * from pdf where partno='1000680071' and brandshort='Molex' limit 1 [ RunTime:0.075175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14392121 LIMIT 5 [ RunTime:0.066031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14392121 ORDER BY `minOrder` ASC [ RunTime:0.093780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14392121 ORDER BY `unit` DESC [ RunTime:0.040865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14392121 LIMIT 2 [ RunTime:0.005823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14392121 ORDER BY `minOrder` ASC [ RunTime:0.045042s ]
select * from pdf where partno='1000680071' and brandshort='Molex' limit 1 [ RunTime:0.034725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16414278 LIMIT 5 [ RunTime:0.058953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16414278 ORDER BY `minOrder` ASC [ RunTime:0.065686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16414278 ORDER BY `unit` DESC [ RunTime:0.059414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16414278 LIMIT 2 [ RunTime:0.018436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16414278 ORDER BY `minOrder` ASC [ RunTime:0.057544s ]
select * from pdf where partno='1000680071' and brandshort='Molex' limit 1 [ RunTime:0.015110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16414207 LIMIT 5 [ RunTime:0.061947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16414207 ORDER BY `minOrder` ASC [ RunTime:0.044439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16414207 ORDER BY `unit` DESC [ RunTime:0.045005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16414207 LIMIT 2 [ RunTime:0.081151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16414207 ORDER BY `minOrder` ASC [ RunTime:0.018051s ]
select * from pdf where partno='1000680071' and brandshort='Molex' limit 1 [ RunTime:0.019667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13520763 LIMIT 5 [ RunTime:0.051395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13520763 ORDER BY `minOrder` ASC [ RunTime:0.066074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13520763 ORDER BY `unit` DESC [ RunTime:0.100100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13520763 LIMIT 2 [ RunTime:0.061734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13520763 ORDER BY `minOrder` ASC [ RunTime:0.056278s ]
select * from pdf where partno='1000680071' and brandshort='Molex' limit 1 [ RunTime:0.024470s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51136440 LIMIT 5 [ RunTime:0.068859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51136440 ORDER BY `minOrder` ASC [ RunTime:0.062190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51136440 ORDER BY `unit` DESC [ RunTime:0.057032s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51136440 LIMIT 2 [ RunTime:0.050562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51136440 ORDER BY `minOrder` ASC [ RunTime:0.043345s ]
select * from pdf where partno='1000680071' and brandshort='molex / temp-flex' limit 1 [ RunTime:0.037537s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002352s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1000680071' OR `brand` LIKE 'molex / temp-flex%' ) ) LIMIT 1 [ RunTime:0.037483s ]
SELECT `id` FROM `stock` WHERE `id` <> 51136440 AND `partno` = '1000680071' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%molex / temp-flex%' ) [ RunTime:0.082112s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63064284 LIMIT 5 [ RunTime:0.214632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63064284 ORDER BY `minOrder` ASC [ RunTime:0.148988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63064284 ORDER BY `unit` DESC [ RunTime:0.095660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63064284 LIMIT 2 [ RunTime:0.100743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63064284 ORDER BY `minOrder` ASC [ RunTime:0.060706s ]
select * from pdf where partno='1000680071' and brandshort='Molex' limit 1 [ RunTime:0.039794s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1000680071' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.112608s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.139474s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.156739s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079911s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.110747s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039996s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050348s ]
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 '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045412s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1000680071%' OR `brand` LIKE '1000680071%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.028363s ]