SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001305s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001911s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12787489 LIMIT 5 [ RunTime:0.000766s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12787489 ORDER BY `minOrder` ASC [ RunTime:0.000561s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001209s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12787489 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002248s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12787489 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12787489 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12787469 LIMIT 5 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12787469 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12787469 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12787469 LIMIT 2 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12787469 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='BTS-100-01-H-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12785449 LIMIT 5 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12785449 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12785449 ORDER BY `unit` DESC [ RunTime:0.000366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12785449 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12785449 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
select * from pdf where partno='BTS-100-01-H-D-A-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000464s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11610602 LIMIT 5 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11610602 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11610602 ORDER BY `unit` DESC [ RunTime:0.000332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11610602 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11610602 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003863s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66190649 LIMIT 5 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66190649 ORDER BY `minOrder` ASC [ RunTime:0.002065s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66190649 ORDER BY `unit` DESC [ RunTime:0.000430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66190649 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66190649 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
select * from pdf where partno='BTS-100-01-H-D-A-K-FR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000523s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS-100-01-H-D-A-K-FR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.002408s ]
SELECT `id` FROM `stock` WHERE `id` <> 66190649 AND `partno` = 'BTS-100-01-H-D-A-K-FR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66189895 LIMIT 5 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66189895 ORDER BY `minOrder` ASC [ RunTime:0.003456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66189895 ORDER BY `unit` DESC [ RunTime:0.000308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66189895 LIMIT 2 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66189895 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
select * from pdf where partno='BTS-100-01-H-D-A-K' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS-100-01-H-D-A-K' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000365s ]
SELECT `id` FROM `stock` WHERE `id` <> 66189895 AND `partno` = 'BTS-100-01-H-D-A-K' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12787489 [ RunTime:0.000282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66189834 LIMIT 5 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66189834 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66189834 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66189834 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66189834 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='BTS-100-01-H-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS-100-01-H-D-A' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000314s ]
SELECT `id` FROM `stock` WHERE `id` <> 66189834 AND `partno` = 'BTS-100-01-H-D-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12787469 [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66187627 LIMIT 5 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66187627 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66187627 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66187627 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66187627 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='BTS-100-01-H-D-A-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS-100-01-H-D-A-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000369s ]
SELECT `id` FROM `stock` WHERE `id` <> 66187627 AND `partno` = 'BTS-100-01-H-D-A-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12785449 [ RunTime:0.000275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66173026 LIMIT 5 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66173026 ORDER BY `minOrder` ASC [ RunTime:0.002026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66173026 ORDER BY `unit` DESC [ RunTime:0.000245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66173026 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66173026 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='BTS-100-01-H-D-A-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS-100-01-H-D-A-K-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000309s ]
SELECT `id` FROM `stock` WHERE `id` <> 66173026 AND `partno` = 'BTS-100-01-H-D-A-K-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11610602 [ RunTime:0.000289s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000583s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000492s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000461s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000482s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000469s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000443s ]
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 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000666s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'BTS-100-01-H-D-A%' OR `brand` LIKE 'BTS-100-01-H-D-A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000493s ]