SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001354s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031195s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12699794 LIMIT 5 [ RunTime:0.031124s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.011527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12699794 ORDER BY `minOrder` ASC [ RunTime:0.019737s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12699794 ORDER BY `unit` DESC [ RunTime:0.002319s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12699794 LIMIT 2 [ RunTime:0.068370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12699794 ORDER BY `minOrder` ASC [ RunTime:0.029725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12652665 LIMIT 5 [ RunTime:0.038450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12652665 ORDER BY `minOrder` ASC [ RunTime:0.090542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12652665 ORDER BY `unit` DESC [ RunTime:0.069838s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12652665 LIMIT 2 [ RunTime:0.051498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12652665 ORDER BY `minOrder` ASC [ RunTime:0.005399s ]
select * from pdf where partno='CLM-134-02-F-D-A-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.059666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12633528 LIMIT 5 [ RunTime:0.039182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12633528 ORDER BY `minOrder` ASC [ RunTime:0.092794s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12633528 ORDER BY `unit` DESC [ RunTime:0.113090s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12633528 LIMIT 2 [ RunTime:0.076066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12633528 ORDER BY `minOrder` ASC [ RunTime:0.006867s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051303s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59887243 LIMIT 5 [ RunTime:0.014474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59887243 ORDER BY `minOrder` ASC [ RunTime:0.115503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59887243 ORDER BY `unit` DESC [ RunTime:0.120200s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59887243 LIMIT 2 [ RunTime:0.136433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59887243 ORDER BY `minOrder` ASC [ RunTime:0.075405s ]
select * from pdf where partno='CLM-134-02-F-D-A-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.025861s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002657s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-134-02-F-D-A-P' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.095576s ]
SELECT `id` FROM `stock` WHERE `id` <> 59887243 AND `partno` = 'CLM-134-02-F-D-A-P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.033418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12652665 [ RunTime:0.071527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59865450 LIMIT 5 [ RunTime:0.093402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59865450 ORDER BY `minOrder` ASC [ RunTime:0.058415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59865450 ORDER BY `unit` DESC [ RunTime:0.055816s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59865450 LIMIT 2 [ RunTime:0.105470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59865450 ORDER BY `minOrder` ASC [ RunTime:0.005949s ]
select * from pdf where partno='CLM-134-02-F-D-A-P-FR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.029757s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-134-02-F-D-A-P-FR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.012366s ]
SELECT `id` FROM `stock` WHERE `id` <> 59865450 AND `partno` = 'CLM-134-02-F-D-A-P-FR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.086339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59854164 LIMIT 5 [ RunTime:0.059097s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59854164 ORDER BY `minOrder` ASC [ RunTime:0.026471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59854164 ORDER BY `unit` DESC [ RunTime:0.029998s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59854164 LIMIT 2 [ RunTime:0.044945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59854164 ORDER BY `minOrder` ASC [ RunTime:0.020870s ]
select * from pdf where partno='CLM-134-02-F-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.108808s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-134-02-F-D-A' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.123170s ]
SELECT `id` FROM `stock` WHERE `id` <> 59854164 AND `partno` = 'CLM-134-02-F-D-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.059078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12633528 [ RunTime:0.068078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59846713 LIMIT 5 [ RunTime:0.062579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59846713 ORDER BY `minOrder` ASC [ RunTime:0.195451s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59846713 ORDER BY `unit` DESC [ RunTime:0.072350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59846713 LIMIT 2 [ RunTime:0.192995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59846713 ORDER BY `minOrder` ASC [ RunTime:0.044445s ]
select * from pdf where partno='CLM-134-02-F-D-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.136036s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-134-02-F-D-A-P-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.155794s ]
SELECT `id` FROM `stock` WHERE `id` <> 59846713 AND `partno` = 'CLM-134-02-F-D-A-P-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.099265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12699794 [ RunTime:0.058273s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.084883s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051610s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035650s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.111698s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.134767s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.126951s ]
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 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.100124s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CLM-134-02-F-D-A%' OR `brand` LIKE 'CLM-134-02-F-D-A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.038855s ]