SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001313s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039735s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.030094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11177203 LIMIT 5 [ RunTime:0.127861s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11177203 ORDER BY `minOrder` ASC [ RunTime:0.010086s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006807s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11177203 ORDER BY `unit` DESC [ RunTime:0.056966s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.037733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11177203 LIMIT 2 [ RunTime:0.033845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11177203 ORDER BY `minOrder` ASC [ RunTime:0.010157s ]
select * from pdf where partno='9-1579018-2' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.036359s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51094538 LIMIT 5 [ RunTime:0.079284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51094538 ORDER BY `minOrder` ASC [ RunTime:0.071140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51094538 ORDER BY `unit` DESC [ RunTime:0.111512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51094538 LIMIT 2 [ RunTime:0.103128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51094538 ORDER BY `minOrder` ASC [ RunTime:0.061156s ]
select * from pdf where partno='9-1579018-2' and brandshort='te connectivity' limit 1 [ RunTime:0.035391s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002462s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9-1579018-2' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.082080s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.097531s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58539235 LIMIT 5 [ RunTime:0.049964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58539235 ORDER BY `minOrder` ASC [ RunTime:0.060271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58539235 ORDER BY `unit` DESC [ RunTime:0.034892s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58539235 LIMIT 2 [ RunTime:0.053164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58539235 ORDER BY `minOrder` ASC [ RunTime:0.032437s ]
select * from pdf where partno='9-1579018-2' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.093843s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9-1579018-2' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.053842s ]
SELECT `id` FROM `stock` WHERE `id` <> 58539235 AND `partno` = '9-1579018-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.044591s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44638425 LIMIT 5 [ RunTime:0.056569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44638425 ORDER BY `minOrder` ASC [ RunTime:0.033926s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44638425 ORDER BY `unit` DESC [ RunTime:0.018088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44638425 LIMIT 2 [ RunTime:0.017505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44638425 ORDER BY `minOrder` ASC [ RunTime:0.004259s ]
select * from pdf where partno='9-1579018-2' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.004613s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9-1579018-2' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.009900s ]
SELECT `id` FROM `stock` WHERE `id` <> 44638425 AND `partno` = '9-1579018-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.015471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11177203 [ RunTime:0.013002s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33122866 LIMIT 5 [ RunTime:0.026001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33122866 ORDER BY `minOrder` ASC [ RunTime:0.029147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33122866 ORDER BY `unit` DESC [ RunTime:0.002138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33122866 LIMIT 2 [ RunTime:0.002484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33122866 ORDER BY `minOrder` ASC [ RunTime:0.004894s ]
select * from pdf where partno='9-1579018-2' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.006225s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9-1579018-2' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.002112s ]
SELECT `id` FROM `stock` WHERE `id` <> 33122866 AND `partno` = '9-1579018-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.012512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11177203 [ RunTime:0.000322s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001958s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017563s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015857s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004527s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001231s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012811s ]
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 '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001552s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '9-1579018-2%' OR `brand` LIKE '9-1579018-2%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005940s ]