SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001489s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020301s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040566s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049257s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.019843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51667309 LIMIT 5 [ RunTime:0.092927s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.012338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51667309 ORDER BY `minOrder` ASC [ RunTime:0.054805s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.051640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51667309 ORDER BY `unit` DESC [ RunTime:0.046844s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.014520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51667309 LIMIT 2 [ RunTime:0.103227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51667309 ORDER BY `minOrder` ASC [ RunTime:0.085799s ]
select * from pdf where partno='4170004-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.046462s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002631s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4170004-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.073257s ]
SELECT `id` FROM `stock` WHERE `id` <> 51667309 AND `partno` = '4170004-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.059498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44629695 LIMIT 5 [ RunTime:0.082960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44629695 ORDER BY `minOrder` ASC [ RunTime:0.089020s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44629695 ORDER BY `unit` DESC [ RunTime:0.078652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44629695 LIMIT 2 [ RunTime:0.120435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44629695 ORDER BY `minOrder` ASC [ RunTime:0.072908s ]
select * from pdf where partno='4170004-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.028947s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4170004-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.081982s ]
SELECT `id` FROM `stock` WHERE `id` <> 44629695 AND `partno` = '4170004-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.051273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33111327 [ RunTime:0.115345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33111327 LIMIT 5 [ RunTime:0.057487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33111327 ORDER BY `minOrder` ASC [ RunTime:0.071721s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33111327 ORDER BY `unit` DESC [ RunTime:0.073742s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33111327 LIMIT 2 [ RunTime:0.021677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33111327 ORDER BY `minOrder` ASC [ RunTime:0.044739s ]
select * from pdf where partno='4170004-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.036688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4170004-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.022102s ]
SELECT `id` FROM `stock` WHERE `id` <> 33111327 AND `partno` = '4170004-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.128043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44629695 [ RunTime:0.056422s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.192501s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034267s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028702s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.203605s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.175459s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017076s ]
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 '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015390s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '4170004-1%' OR `brand` LIKE '4170004-1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.075666s ]