SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001857s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016761s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015804s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026189s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.014736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51675261 LIMIT 5 [ RunTime:0.019024s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51675261 ORDER BY `minOrder` ASC [ RunTime:0.033501s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.021767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51675261 ORDER BY `unit` DESC [ RunTime:0.011752s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.011095s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51675261 LIMIT 2 [ RunTime:0.015751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51675261 ORDER BY `minOrder` ASC [ RunTime:0.012794s ]
select * from pdf where partno='1579028-9' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.028694s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002075s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1579028-9' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.030875s ]
SELECT `id` FROM `stock` WHERE `id` <> 51675261 AND `partno` = '1579028-9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.026691s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44637936 LIMIT 5 [ RunTime:0.033147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44637936 ORDER BY `minOrder` ASC [ RunTime:0.021427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44637936 ORDER BY `unit` DESC [ RunTime:0.030606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44637936 LIMIT 2 [ RunTime:0.058738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44637936 ORDER BY `minOrder` ASC [ RunTime:0.046039s ]
select * from pdf where partno='1579028-9' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.056426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1579028-9' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.010921s ]
SELECT `id` FROM `stock` WHERE `id` <> 44637936 AND `partno` = '1579028-9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.039585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33122269 [ RunTime:0.005302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33122269 LIMIT 5 [ RunTime:0.012439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33122269 ORDER BY `minOrder` ASC [ RunTime:0.020732s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33122269 ORDER BY `unit` DESC [ RunTime:0.038155s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33122269 LIMIT 2 [ RunTime:0.091690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33122269 ORDER BY `minOrder` ASC [ RunTime:0.027343s ]
select * from pdf where partno='1579028-9' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.014699s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1579028-9' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.022449s ]
SELECT `id` FROM `stock` WHERE `id` <> 33122269 AND `partno` = '1579028-9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.020833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44637936 [ RunTime:0.028793s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012782s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006844s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007423s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009296s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005549s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001570s ]
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 '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012152s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1579028-9%' OR `brand` LIKE '1579028-9%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.012598s ]