SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001112s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053309s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14257552 LIMIT 5 [ RunTime:0.056809s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.020410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14257552 ORDER BY `minOrder` ASC [ RunTime:0.033353s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.016917s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14257552 ORDER BY `unit` DESC [ RunTime:0.034315s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.021339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14257552 LIMIT 2 [ RunTime:0.029547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14257552 ORDER BY `minOrder` ASC [ RunTime:0.070287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515139 LIMIT 5 [ RunTime:0.043213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515139 ORDER BY `minOrder` ASC [ RunTime:0.026933s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12515139 ORDER BY `unit` DESC [ RunTime:0.010347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12515139 LIMIT 2 [ RunTime:0.044438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515139 ORDER BY `minOrder` ASC [ RunTime:0.097680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515136 LIMIT 5 [ RunTime:0.026347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515136 ORDER BY `minOrder` ASC [ RunTime:0.052425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12515136 ORDER BY `unit` DESC [ RunTime:0.008717s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12515136 LIMIT 2 [ RunTime:0.042895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515136 ORDER BY `minOrder` ASC [ RunTime:0.027601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515128 LIMIT 5 [ RunTime:0.066592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515128 ORDER BY `minOrder` ASC [ RunTime:0.045270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12515128 ORDER BY `unit` DESC [ RunTime:0.048611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12515128 LIMIT 2 [ RunTime:0.085946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515128 ORDER BY `minOrder` ASC [ RunTime:0.030608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515124 LIMIT 5 [ RunTime:0.014519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515124 ORDER BY `minOrder` ASC [ RunTime:0.075983s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12515124 ORDER BY `unit` DESC [ RunTime:0.042712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12515124 LIMIT 2 [ RunTime:0.026226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515124 ORDER BY `minOrder` ASC [ RunTime:0.051887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12027257 LIMIT 5 [ RunTime:0.081477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12027257 ORDER BY `minOrder` ASC [ RunTime:0.055930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12027257 ORDER BY `unit` DESC [ RunTime:0.057136s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12027257 LIMIT 2 [ RunTime:0.027947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12027257 ORDER BY `minOrder` ASC [ RunTime:0.059410s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048541s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030487s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57608754 LIMIT 5 [ RunTime:0.027630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57608754 ORDER BY `minOrder` ASC [ RunTime:0.024251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57608754 ORDER BY `unit` DESC [ RunTime:0.001504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57608754 LIMIT 2 [ RunTime:0.012053s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57608754 ORDER BY `minOrder` ASC [ RunTime:0.004720s ]
select * from pdf where partno='32225' and brandshort='Parallax Inc.' limit 1 [ RunTime:0.018176s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '32225' OR `brand` LIKE 'Parallax Inc.%' ) ) LIMIT 1 [ RunTime:0.009389s ]
SELECT `id` FROM `stock` WHERE `id` <> 57608754 AND `partno` = '32225' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%parallax inc.%' ) [ RunTime:0.013203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14257552 [ RunTime:0.016664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53828610 LIMIT 5 [ RunTime:0.013702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828610 ORDER BY `minOrder` ASC [ RunTime:0.008948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53828610 ORDER BY `unit` DESC [ RunTime:0.003954s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53828610 LIMIT 2 [ RunTime:0.001294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828610 ORDER BY `minOrder` ASC [ RunTime:0.002930s ]
select * from pdf where partno='322257' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.002323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322257' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.002287s ]
SELECT `id` FROM `stock` WHERE `id` <> 53828610 AND `partno` = '322257' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.010429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515139 [ RunTime:0.005943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53828607 LIMIT 5 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828607 ORDER BY `minOrder` ASC [ RunTime:0.007289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53828607 ORDER BY `unit` DESC [ RunTime:0.000700s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53828607 LIMIT 2 [ RunTime:0.002373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828607 ORDER BY `minOrder` ASC [ RunTime:0.003424s ]
select * from pdf where partno='322259' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001040s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322259' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.002678s ]
SELECT `id` FROM `stock` WHERE `id` <> 53828607 AND `partno` = '322259' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515136 [ RunTime:0.003123s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53828590 LIMIT 5 [ RunTime:0.000904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828590 ORDER BY `minOrder` ASC [ RunTime:0.000798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53828590 ORDER BY `unit` DESC [ RunTime:0.000648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53828590 LIMIT 2 [ RunTime:0.003570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828590 ORDER BY `minOrder` ASC [ RunTime:0.004517s ]
select * from pdf where partno='322258' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.002342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322258' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000914s ]
SELECT `id` FROM `stock` WHERE `id` <> 53828590 AND `partno` = '322258' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.003203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515128 [ RunTime:0.008871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53828585 LIMIT 5 [ RunTime:0.000702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828585 ORDER BY `minOrder` ASC [ RunTime:0.000749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53828585 ORDER BY `unit` DESC [ RunTime:0.005511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53828585 LIMIT 2 [ RunTime:0.000744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828585 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
select * from pdf where partno='322252' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001026s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322252' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.007846s ]
SELECT `id` FROM `stock` WHERE `id` <> 53828585 AND `partno` = '322252' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.001009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515124 [ RunTime:0.002626s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53828582 LIMIT 5 [ RunTime:0.000755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828582 ORDER BY `minOrder` ASC [ RunTime:0.000774s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53828582 ORDER BY `unit` DESC [ RunTime:0.001429s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53828582 LIMIT 2 [ RunTime:0.005112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53828582 ORDER BY `minOrder` ASC [ RunTime:0.000488s ]
select * from pdf where partno='322254' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001368s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322254' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.003422s ]
SELECT `id` FROM `stock` WHERE `id` <> 53828582 AND `partno` = '322254' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.010179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53824914 LIMIT 5 [ RunTime:0.000989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53824914 ORDER BY `minOrder` ASC [ RunTime:0.002295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53824914 ORDER BY `unit` DESC [ RunTime:0.009884s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53824914 LIMIT 2 [ RunTime:0.004377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53824914 ORDER BY `minOrder` ASC [ RunTime:0.001933s ]
select * from pdf where partno='322253' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322253' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.005469s ]
SELECT `id` FROM `stock` WHERE `id` <> 53824914 AND `partno` = '322253' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.002046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32670531 LIMIT 5 [ RunTime:0.000640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32670531 ORDER BY `minOrder` ASC [ RunTime:0.001192s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32670531 ORDER BY `unit` DESC [ RunTime:0.009405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32670531 LIMIT 2 [ RunTime:0.003387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32670531 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
select * from pdf where partno='32225G' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.000865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '32225G' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.002742s ]
SELECT `id` FROM `stock` WHERE `id` <> 32670531 AND `partno` = '32225G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.000857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12027257 [ RunTime:0.001906s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001569s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001139s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004490s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001215s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002768s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002546s ]
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 '32225%' OR `brand` LIKE '32225%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009717s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '32225%' OR `brand` LIKE '32225%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004948s ]