SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001240s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001920s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003321s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009893s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51667300 LIMIT 5 [ RunTime:0.002300s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51667300 ORDER BY `minOrder` ASC [ RunTime:0.001777s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51667300 ORDER BY `unit` DESC [ RunTime:0.016493s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.014640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51667300 LIMIT 2 [ RunTime:0.002306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51667300 ORDER BY `minOrder` ASC [ RunTime:0.000880s ]
select * from pdf where partno='4170035-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.007364s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003622s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4170035-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.006276s ]
SELECT `id` FROM `stock` WHERE `id` <> 51667300 AND `partno` = '4170035-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.062477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44629686 LIMIT 5 [ RunTime:0.013324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44629686 ORDER BY `minOrder` ASC [ RunTime:0.053307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44629686 ORDER BY `unit` DESC [ RunTime:0.045593s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44629686 LIMIT 2 [ RunTime:0.052670s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44629686 ORDER BY `minOrder` ASC [ RunTime:0.028420s ]
select * from pdf where partno='4170035-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.013456s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4170035-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.021901s ]
SELECT `id` FROM `stock` WHERE `id` <> 44629686 AND `partno` = '4170035-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.073980s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33111318 [ RunTime:0.044681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33111318 LIMIT 5 [ RunTime:0.093473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33111318 ORDER BY `minOrder` ASC [ RunTime:0.009655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33111318 ORDER BY `unit` DESC [ RunTime:0.018016s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33111318 LIMIT 2 [ RunTime:0.088626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33111318 ORDER BY `minOrder` ASC [ RunTime:0.040936s ]
select * from pdf where partno='4170035-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.074856s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4170035-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.051789s ]
SELECT `id` FROM `stock` WHERE `id` <> 33111318 AND `partno` = '4170035-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.044934s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44629686 [ RunTime:0.051220s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065910s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.123575s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.091444s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032254s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.125609s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034872s ]
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 '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034444s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '4170035-1%' OR `brand` LIKE '4170035-1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017578s ]