SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002529s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021107s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12693176 LIMIT 5 [ RunTime:0.025985s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12693176 ORDER BY `minOrder` ASC [ RunTime:0.024547s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12693176 ORDER BY `unit` DESC [ RunTime:0.024143s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.023910s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12693176 LIMIT 2 [ RunTime:0.037818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12693176 ORDER BY `minOrder` ASC [ RunTime:0.011586s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12655599 LIMIT 5 [ RunTime:0.032887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655599 ORDER BY `minOrder` ASC [ RunTime:0.074343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12655599 ORDER BY `unit` DESC [ RunTime:0.073803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12655599 LIMIT 2 [ RunTime:0.052376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655599 ORDER BY `minOrder` ASC [ RunTime:0.011583s ]
select * from pdf where partno='CLM-136-02-L-D-A-K' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.034405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12638532 LIMIT 5 [ RunTime:0.062403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12638532 ORDER BY `minOrder` ASC [ RunTime:0.091113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12638532 ORDER BY `unit` DESC [ RunTime:0.003367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12638532 LIMIT 2 [ RunTime:0.022656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12638532 ORDER BY `minOrder` ASC [ RunTime:0.021634s ]
select * from pdf where partno='CLM-136-02-L-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.035824s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029549s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59889862 LIMIT 5 [ RunTime:0.015357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59889862 ORDER BY `minOrder` ASC [ RunTime:0.005517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59889862 ORDER BY `unit` DESC [ RunTime:0.038432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59889862 LIMIT 2 [ RunTime:0.050350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59889862 ORDER BY `minOrder` ASC [ RunTime:0.000596s ]
select * from pdf where partno='CLM-136-02-L-D-A-K' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.010576s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-136-02-L-D-A-K' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.007528s ]
SELECT `id` FROM `stock` WHERE `id` <> 59889862 AND `partno` = 'CLM-136-02-L-D-A-K' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12655599 [ RunTime:0.005723s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59888333 LIMIT 5 [ RunTime:0.018750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59888333 ORDER BY `minOrder` ASC [ RunTime:0.023074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59888333 ORDER BY `unit` DESC [ RunTime:0.007656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59888333 LIMIT 2 [ RunTime:0.004166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59888333 ORDER BY `minOrder` ASC [ RunTime:0.009816s ]
select * from pdf where partno='CLM-136-02-L-D-A-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.013148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-136-02-L-D-A-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.002516s ]
SELECT `id` FROM `stock` WHERE `id` <> 59888333 AND `partno` = 'CLM-136-02-L-D-A-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.009799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59865324 LIMIT 5 [ RunTime:0.009829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59865324 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59865324 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59865324 LIMIT 2 [ RunTime:0.002252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59865324 ORDER BY `minOrder` ASC [ RunTime:0.002622s ]
select * from pdf where partno='CLM-136-02-L-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.014066s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-136-02-L-D-A' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000324s ]
SELECT `id` FROM `stock` WHERE `id` <> 59865324 AND `partno` = 'CLM-136-02-L-D-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12638532 [ RunTime:0.000216s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59853297 LIMIT 5 [ RunTime:0.009072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59853297 ORDER BY `minOrder` ASC [ RunTime:0.011394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59853297 ORDER BY `unit` DESC [ RunTime:0.000794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59853297 LIMIT 2 [ RunTime:0.005303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59853297 ORDER BY `minOrder` ASC [ RunTime:0.001300s ]
select * from pdf where partno='CLM-136-02-L-D-A-K-FR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.006956s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-136-02-L-D-A-K-FR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.013744s ]
SELECT `id` FROM `stock` WHERE `id` <> 59853297 AND `partno` = 'CLM-136-02-L-D-A-K-FR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.014717s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59834308 LIMIT 5 [ RunTime:0.003288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59834308 ORDER BY `minOrder` ASC [ RunTime:0.003031s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59834308 ORDER BY `unit` DESC [ RunTime:0.002287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59834308 LIMIT 2 [ RunTime:0.009125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59834308 ORDER BY `minOrder` ASC [ RunTime:0.003677s ]
select * from pdf where partno='CLM-136-02-L-D-A-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003876s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLM-136-02-L-D-A-K-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.016365s ]
SELECT `id` FROM `stock` WHERE `id` <> 59834308 AND `partno` = 'CLM-136-02-L-D-A-K-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.006255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12693176 [ RunTime:0.014609s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007331s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004562s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004057s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010704s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012910s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010900s ]
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-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010834s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CLM-136-02-L-D-A%' OR `brand` LIKE 'CLM-136-02-L-D-A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.014130s ]