SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002423s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005922s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16453624 LIMIT 5 [ RunTime:0.004067s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16453624 ORDER BY `minOrder` ASC [ RunTime:0.000917s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16453624 ORDER BY `unit` DESC [ RunTime:0.000621s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16453624 LIMIT 2 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16453624 ORDER BY `minOrder` ASC [ RunTime:0.000636s ]
select * from pdf where partno='IDSD-05-S-12.00-G' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.012567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14466435 LIMIT 5 [ RunTime:0.001199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14466435 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14466435 ORDER BY `unit` DESC [ RunTime:0.000403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14466435 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14466435 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
select * from pdf where partno='IDSD-05-S-12.00-G-ST8-RW' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000591s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14466434 LIMIT 5 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14466434 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14466434 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14466434 LIMIT 2 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14466434 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
select * from pdf where partno='IDSD-05-S-12.00-G-ST8' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000599s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001196s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69053577 LIMIT 5 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69053577 ORDER BY `minOrder` ASC [ RunTime:0.001946s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69053577 ORDER BY `unit` DESC [ RunTime:0.000453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69053577 LIMIT 2 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69053577 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
select * from pdf where partno='IDSD-05-S-12.00-G' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000866s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001550s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IDSD-05-S-12.00-G' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000864s ]
SELECT `id` FROM `stock` WHERE `id` <> 69053577 AND `partno` = 'IDSD-05-S-12.00-G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16453624 [ RunTime:0.000460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69086416 LIMIT 5 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69086416 ORDER BY `minOrder` ASC [ RunTime:0.000797s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69086416 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69086416 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69086416 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='IDSD-05-S-12.00-G-ST8' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000569s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IDSD-05-S-12.00-G-ST8' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000498s ]
SELECT `id` FROM `stock` WHERE `id` <> 69086416 AND `partno` = 'IDSD-05-S-12.00-G-ST8' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14466434 [ RunTime:0.000443s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69086392 LIMIT 5 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69086392 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69086392 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69086392 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69086392 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
select * from pdf where partno='IDSD-05-S-12.00-G-ST8-RW' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000732s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IDSD-05-S-12.00-G-ST8-RW' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000501s ]
SELECT `id` FROM `stock` WHERE `id` <> 69086392 AND `partno` = 'IDSD-05-S-12.00-G-ST8-RW' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14466435 [ RunTime:0.000445s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000831s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000760s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000781s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000792s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000749s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000725s ]
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 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000931s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'IDSD-05-S-12.00-G%' OR `brand` LIKE 'IDSD-05-S-12.00-G%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000684s ]