SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003229s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057728s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072770s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051633s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51659082 LIMIT 5 [ RunTime:0.088272s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51659082 ORDER BY `minOrder` ASC [ RunTime:0.121008s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.032338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51659082 ORDER BY `unit` DESC [ RunTime:0.072686s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.078604s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51659082 LIMIT 2 [ RunTime:0.051247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51659082 ORDER BY `minOrder` ASC [ RunTime:0.035102s ]
select * from pdf where partno='3-690504-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.122643s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-690504-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.064512s ]
SELECT `id` FROM `stock` WHERE `id` <> 51659082 AND `partno` = '3-690504-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.108045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44624048 LIMIT 5 [ RunTime:0.228857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44624048 ORDER BY `minOrder` ASC [ RunTime:0.043972s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44624048 ORDER BY `unit` DESC [ RunTime:0.070935s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44624048 LIMIT 2 [ RunTime:0.086417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44624048 ORDER BY `minOrder` ASC [ RunTime:0.100545s ]
select * from pdf where partno='3-690504-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.063131s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-690504-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.045083s ]
SELECT `id` FROM `stock` WHERE `id` <> 44624048 AND `partno` = '3-690504-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.118644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33105118 [ RunTime:0.041623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33105118 LIMIT 5 [ RunTime:0.086443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33105118 ORDER BY `minOrder` ASC [ RunTime:0.088540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33105118 ORDER BY `unit` DESC [ RunTime:0.225648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33105118 LIMIT 2 [ RunTime:0.180841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33105118 ORDER BY `minOrder` ASC [ RunTime:0.134025s ]
select * from pdf where partno='3-690504-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.050557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-690504-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.008472s ]
SELECT `id` FROM `stock` WHERE `id` <> 33105118 AND `partno` = '3-690504-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.093047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44624048 [ RunTime:0.072405s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117658s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018946s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.116142s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.126652s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.099949s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.096322s ]
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 '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.084272s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '3-690504-1%' OR `brand` LIKE '3-690504-1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.097618s ]