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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003096s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025871s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022907s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002990s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58535491 LIMIT 5 [ RunTime:0.024598s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.014182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58535491 ORDER BY `minOrder` ASC [ RunTime:0.027241s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58535491 ORDER BY `unit` DESC [ RunTime:0.005772s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009431s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58535491 LIMIT 2 [ RunTime:0.029961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58535491 ORDER BY `minOrder` ASC [ RunTime:0.007525s ]
select * from pdf where partno='2836431-2' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.009030s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2836431-2' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.058388s ]
SELECT `id` FROM `stock` WHERE `id` <> 58535491 AND `partno` = '2836431-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.020085s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44634651 LIMIT 5 [ RunTime:0.046608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44634651 ORDER BY `minOrder` ASC [ RunTime:0.022759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44634651 ORDER BY `unit` DESC [ RunTime:0.042267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44634651 LIMIT 2 [ RunTime:0.049166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44634651 ORDER BY `minOrder` ASC [ RunTime:0.008051s ]
select * from pdf where partno='2836431-2' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.042950s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2836431-2' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.043313s ]
SELECT `id` FROM `stock` WHERE `id` <> 44634651 AND `partno` = '2836431-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.026352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33116429 [ RunTime:0.022795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33116429 LIMIT 5 [ RunTime:0.069454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33116429 ORDER BY `minOrder` ASC [ RunTime:0.038315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33116429 ORDER BY `unit` DESC [ RunTime:0.041953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33116429 LIMIT 2 [ RunTime:0.050928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33116429 ORDER BY `minOrder` ASC [ RunTime:0.006967s ]
select * from pdf where partno='2836431-2' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.000677s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2836431-2' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.011494s ]
SELECT `id` FROM `stock` WHERE `id` <> 33116429 AND `partno` = '2836431-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.024641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44634651 [ RunTime:0.013852s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027802s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040995s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057630s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061233s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030599s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026291s ]
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 '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023405s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '2836431-2%' OR `brand` LIKE '2836431-2%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.026758s ]