SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002487s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023600s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001005s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12609879 LIMIT 5 [ RunTime:0.022136s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12609879 ORDER BY `minOrder` ASC [ RunTime:0.009646s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12609879 ORDER BY `unit` DESC [ RunTime:0.043424s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12609879 LIMIT 2 [ RunTime:0.021927s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12609879 ORDER BY `minOrder` ASC [ RunTime:0.011995s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11197532 LIMIT 5 [ RunTime:0.061226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11197532 ORDER BY `minOrder` ASC [ RunTime:0.042406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11197532 ORDER BY `unit` DESC [ RunTime:0.021429s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11197532 LIMIT 2 [ RunTime:0.034232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11197532 ORDER BY `minOrder` ASC [ RunTime:0.006221s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32280092 LIMIT 5 [ RunTime:0.034609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32280092 ORDER BY `minOrder` ASC [ RunTime:0.028299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32280092 ORDER BY `unit` DESC [ RunTime:0.043611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32280092 LIMIT 2 [ RunTime:0.021169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32280092 ORDER BY `minOrder` ASC [ RunTime:0.010331s ]
select * from pdf where partno='61086-1' and brandshort='te connectivity / amp' limit 1 [ RunTime:0.005537s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002960s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '61086-1' OR `brand` LIKE 'te connectivity / amp%' ) ) LIMIT 1 [ RunTime:0.025311s ]
SELECT `id` FROM `stock` WHERE `id` <> 32280092 AND `partno` = '61086-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity / amp%' ) [ RunTime:0.021700s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60345326 LIMIT 5 [ RunTime:0.030521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60345326 ORDER BY `minOrder` ASC [ RunTime:0.026650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60345326 ORDER BY `unit` DESC [ RunTime:0.003064s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60345326 LIMIT 2 [ RunTime:0.006163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60345326 ORDER BY `minOrder` ASC [ RunTime:0.015269s ]
select * from pdf where partno='61086-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.004024s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '61086-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.007305s ]
SELECT `id` FROM `stock` WHERE `id` <> 60345326 AND `partno` = '61086-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.017328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12609879 [ RunTime:0.009553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58554554 LIMIT 5 [ RunTime:0.008978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58554554 ORDER BY `minOrder` ASC [ RunTime:0.042851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58554554 ORDER BY `unit` DESC [ RunTime:0.019503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58554554 LIMIT 2 [ RunTime:0.009160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58554554 ORDER BY `minOrder` ASC [ RunTime:0.013611s ]
select * from pdf where partno='61086' and brandshort='Tempo Communications' limit 1 [ RunTime:0.015180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '61086' OR `brand` LIKE 'Tempo Communications%' ) ) LIMIT 1 [ RunTime:0.013878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32652146 LIMIT 5 [ RunTime:0.014554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32652146 ORDER BY `minOrder` ASC [ RunTime:0.031385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32652146 ORDER BY `unit` DESC [ RunTime:0.007401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32652146 LIMIT 2 [ RunTime:0.008411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32652146 ORDER BY `minOrder` ASC [ RunTime:0.011507s ]
select * from pdf where partno='61086G' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.000760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '61086G' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.006548s ]
SELECT `id` FROM `stock` WHERE `id` <> 32652146 AND `partno` = '61086G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.002994s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007091s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016882s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054940s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017581s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022842s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012447s ]
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 '61086%' OR `brand` LIKE '61086%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038111s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '61086%' OR `brand` LIKE '61086%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.034593s ]