SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002593s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023069s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12663472 LIMIT 5 [ RunTime:0.011008s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663472 ORDER BY `minOrder` ASC [ RunTime:0.015981s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005004s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12663472 ORDER BY `unit` DESC [ RunTime:0.028138s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007097s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12663472 LIMIT 2 [ RunTime:0.010910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663472 ORDER BY `minOrder` ASC [ RunTime:0.010878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11538136 LIMIT 5 [ RunTime:0.018664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11538136 ORDER BY `minOrder` ASC [ RunTime:0.035296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11538136 ORDER BY `unit` DESC [ RunTime:0.007482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11538136 LIMIT 2 [ RunTime:0.009205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11538136 ORDER BY `minOrder` ASC [ RunTime:0.007096s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11523526 LIMIT 5 [ RunTime:0.035808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11523526 ORDER BY `minOrder` ASC [ RunTime:0.043217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11523526 ORDER BY `unit` DESC [ RunTime:0.033627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11523526 LIMIT 2 [ RunTime:0.042302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11523526 ORDER BY `minOrder` ASC [ RunTime:0.016563s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035590s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59852831 LIMIT 5 [ RunTime:0.011134s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59852831 ORDER BY `minOrder` ASC [ RunTime:0.007656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59852831 ORDER BY `unit` DESC [ RunTime:0.012876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59852831 LIMIT 2 [ RunTime:0.028420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59852831 ORDER BY `minOrder` ASC [ RunTime:0.016180s ]
select * from pdf where partno='CLM-132-02-F-D-P-FR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.010034s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-132-02-F-D-P-FR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.006425s ]
SELECT `id` FROM `stock` WHERE `id` <> 59852831 AND `partno` = 'CLM-132-02-F-D-P-FR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.003627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59832645 LIMIT 5 [ RunTime:0.018617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59832645 ORDER BY `minOrder` ASC [ RunTime:0.023213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59832645 ORDER BY `unit` DESC [ RunTime:0.000912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59832645 LIMIT 2 [ RunTime:0.007340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59832645 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
select * from pdf where partno='CLM-132-02-F-D-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.004733s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-132-02-F-D-P-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.004617s ]
SELECT `id` FROM `stock` WHERE `id` <> 59832645 AND `partno` = 'CLM-132-02-F-D-P-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.001673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11538136 [ RunTime:0.005625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59781576 LIMIT 5 [ RunTime:0.005657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59781576 ORDER BY `minOrder` ASC [ RunTime:0.000794s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59781576 ORDER BY `unit` DESC [ RunTime:0.001289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59781576 LIMIT 2 [ RunTime:0.003608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59781576 ORDER BY `minOrder` ASC [ RunTime:0.012442s ]
select * from pdf where partno='CLM-132-02-F-D-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-132-02-F-D-P' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.011209s ]
SELECT `id` FROM `stock` WHERE `id` <> 59781576 AND `partno` = 'CLM-132-02-F-D-P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.008756s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11523526 [ RunTime:0.012401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59765927 LIMIT 5 [ RunTime:0.035153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59765927 ORDER BY `minOrder` ASC [ RunTime:0.014664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59765927 ORDER BY `unit` DESC [ RunTime:0.000740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59765927 LIMIT 2 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59765927 ORDER BY `minOrder` ASC [ RunTime:0.011085s ]
select * from pdf where partno='CLM-132-02-F-D-PA' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.007884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-132-02-F-D-PA' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.009496s ]
SELECT `id` FROM `stock` WHERE `id` <> 59765927 AND `partno` = 'CLM-132-02-F-D-PA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12663472 [ RunTime:0.000682s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008815s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027423s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007379s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006479s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001746s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013934s ]
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-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006451s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CLM-132-02-F-D-P%' OR `brand` LIKE 'CLM-132-02-F-D-P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.021523s ]