SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001933s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015003s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12169451 LIMIT 5 [ RunTime:0.026892s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12169451 ORDER BY `minOrder` ASC [ RunTime:0.026641s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003842s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12169451 ORDER BY `unit` DESC [ RunTime:0.010107s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005027s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12169451 LIMIT 2 [ RunTime:0.028000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12169451 ORDER BY `minOrder` ASC [ RunTime:0.037235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11177641 LIMIT 5 [ RunTime:0.029243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11177641 ORDER BY `minOrder` ASC [ RunTime:0.037471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11177641 ORDER BY `unit` DESC [ RunTime:0.017255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11177641 LIMIT 2 [ RunTime:0.117164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11177641 ORDER BY `minOrder` ASC [ RunTime:0.020359s ]
select * from pdf where partno='380429-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.041064s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052303s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58540229 LIMIT 5 [ RunTime:0.129702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58540229 ORDER BY `minOrder` ASC [ RunTime:0.080946s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58540229 ORDER BY `unit` DESC [ RunTime:0.081176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58540229 LIMIT 2 [ RunTime:0.043454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58540229 ORDER BY `minOrder` ASC [ RunTime:0.030993s ]
select * from pdf where partno='380429-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.092091s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380429-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.029470s ]
SELECT `id` FROM `stock` WHERE `id` <> 58540229 AND `partno` = '380429-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.141168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44639414 LIMIT 5 [ RunTime:0.047661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44639414 ORDER BY `minOrder` ASC [ RunTime:0.004617s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44639414 ORDER BY `unit` DESC [ RunTime:0.066244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44639414 LIMIT 2 [ RunTime:0.097944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44639414 ORDER BY `minOrder` ASC [ RunTime:0.043115s ]
select * from pdf where partno='380429-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.015109s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380429-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.022822s ]
SELECT `id` FROM `stock` WHERE `id` <> 44639414 AND `partno` = '380429-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.028053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11177641 [ RunTime:0.002161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33123867 LIMIT 5 [ RunTime:0.020389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33123867 ORDER BY `minOrder` ASC [ RunTime:0.019015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33123867 ORDER BY `unit` DESC [ RunTime:0.013609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33123867 LIMIT 2 [ RunTime:0.016671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33123867 ORDER BY `minOrder` ASC [ RunTime:0.067449s ]
select * from pdf where partno='380429-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.009910s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380429-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.029601s ]
SELECT `id` FROM `stock` WHERE `id` <> 33123867 AND `partno` = '380429-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.039388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11177641 [ RunTime:0.006737s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051648s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016096s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017320s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031872s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064691s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056826s ]
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 '38042%' OR `brand` LIKE '38042%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061854s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '38042%' OR `brand` LIKE '38042%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023078s ]