SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002401s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007557s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20080862 LIMIT 5 [ RunTime:0.015568s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20080862 ORDER BY `minOrder` ASC [ RunTime:0.004411s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20080862 ORDER BY `unit` DESC [ RunTime:0.000483s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20080862 LIMIT 2 [ RunTime:0.021545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20080862 ORDER BY `minOrder` ASC [ RunTime:0.013506s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20080241 LIMIT 5 [ RunTime:0.062400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20080241 ORDER BY `minOrder` ASC [ RunTime:0.041104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20080241 ORDER BY `unit` DESC [ RunTime:0.026099s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20080241 LIMIT 2 [ RunTime:0.042621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20080241 ORDER BY `minOrder` ASC [ RunTime:0.013927s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20080208 LIMIT 5 [ RunTime:0.076778s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20080208 ORDER BY `minOrder` ASC [ RunTime:0.071801s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20080208 ORDER BY `unit` DESC [ RunTime:0.064524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20080208 LIMIT 2 [ RunTime:0.035812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20080208 ORDER BY `minOrder` ASC [ RunTime:0.058113s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19637067 LIMIT 5 [ RunTime:0.029182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19637067 ORDER BY `minOrder` ASC [ RunTime:0.035160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19637067 ORDER BY `unit` DESC [ RunTime:0.037668s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19637067 LIMIT 2 [ RunTime:0.079372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19637067 ORDER BY `minOrder` ASC [ RunTime:0.050824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17509255 LIMIT 5 [ RunTime:0.064605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17509255 ORDER BY `minOrder` ASC [ RunTime:0.021109s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17509255 ORDER BY `unit` DESC [ RunTime:0.039352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17509255 LIMIT 2 [ RunTime:0.053026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17509255 ORDER BY `minOrder` ASC [ RunTime:0.000620s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061022s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63377285 LIMIT 5 [ RunTime:0.060977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63377285 ORDER BY `minOrder` ASC [ RunTime:0.054722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63377285 ORDER BY `unit` DESC [ RunTime:0.050059s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63377285 LIMIT 2 [ RunTime:0.012846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63377285 ORDER BY `minOrder` ASC [ RunTime:0.017652s ]
select * from pdf where partno='104572' and brandshort='Brady Corporation' limit 1 [ RunTime:0.021153s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002629s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '104572' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.026307s ]
SELECT `id` FROM `stock` WHERE `id` <> 63377285 AND `partno` = '104572' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.024894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17509255 [ RunTime:0.003275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60612494 LIMIT 5 [ RunTime:0.032281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60612494 ORDER BY `minOrder` ASC [ RunTime:0.026858s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60612494 ORDER BY `unit` DESC [ RunTime:0.018682s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60612494 LIMIT 2 [ RunTime:0.010642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60612494 ORDER BY `minOrder` ASC [ RunTime:0.002377s ]
select * from pdf where partno='1045723-1' and brandshort='TE Connectivity Aerospace, Defense and Marine' limit 1 [ RunTime:0.006445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1045723-1' OR `brand` LIKE 'TE Connectivity Aerospace, Defense and Marine%' ) ) LIMIT 1 [ RunTime:0.003196s ]
SELECT `id` FROM `stock` WHERE `id` <> 60612494 AND `partno` = '1045723-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity aerospace, defense and marine%' ) [ RunTime:0.000696s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20080241 [ RunTime:0.006120s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60612418 LIMIT 5 [ RunTime:0.004804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60612418 ORDER BY `minOrder` ASC [ RunTime:0.007299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60612418 ORDER BY `unit` DESC [ RunTime:0.005416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60612418 LIMIT 2 [ RunTime:0.010616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60612418 ORDER BY `minOrder` ASC [ RunTime:0.012133s ]
select * from pdf where partno='1045722-1' and brandshort='TE Connectivity Aerospace, Defense and Marine' limit 1 [ RunTime:0.011451s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1045722-1' OR `brand` LIKE 'TE Connectivity Aerospace, Defense and Marine%' ) ) LIMIT 1 [ RunTime:0.002793s ]
SELECT `id` FROM `stock` WHERE `id` <> 60612418 AND `partno` = '1045722-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity aerospace, defense and marine%' ) [ RunTime:0.000979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20080208 [ RunTime:0.003550s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009150s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009563s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001493s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003147s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005183s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001693s ]
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 '104572%' OR `brand` LIKE '104572%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006207s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '104572%' OR `brand` LIKE '104572%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001224s ]