SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001439s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002635s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19584286 LIMIT 5 [ RunTime:0.008620s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19584286 ORDER BY `minOrder` ASC [ RunTime:0.033198s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19584286 ORDER BY `unit` DESC [ RunTime:0.051681s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19584286 LIMIT 2 [ RunTime:0.055401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19584286 ORDER BY `minOrder` ASC [ RunTime:0.007965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19584188 LIMIT 5 [ RunTime:0.031604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19584188 ORDER BY `minOrder` ASC [ RunTime:0.053035s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19584188 ORDER BY `unit` DESC [ RunTime:0.060310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19584188 LIMIT 2 [ RunTime:0.030572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19584188 ORDER BY `minOrder` ASC [ RunTime:0.048478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15441351 LIMIT 5 [ RunTime:0.119479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15441351 ORDER BY `minOrder` ASC [ RunTime:0.046490s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15441351 ORDER BY `unit` DESC [ RunTime:0.034934s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15441351 LIMIT 2 [ RunTime:0.043862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15441351 ORDER BY `minOrder` ASC [ RunTime:0.010072s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050096s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52489084 LIMIT 5 [ RunTime:0.037339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52489084 ORDER BY `minOrder` ASC [ RunTime:0.112171s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52489084 ORDER BY `unit` DESC [ RunTime:0.068995s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52489084 LIMIT 2 [ RunTime:0.045062s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52489084 ORDER BY `minOrder` ASC [ RunTime:0.020006s ]
select * from pdf where partno='322281' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.104039s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002663s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322281' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.010291s ]
SELECT `id` FROM `stock` WHERE `id` <> 52489084 AND `partno` = '322281' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.123009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19584286 [ RunTime:0.056889s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52488909 LIMIT 5 [ RunTime:0.027105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52488909 ORDER BY `minOrder` ASC [ RunTime:0.097074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52488909 ORDER BY `unit` DESC [ RunTime:0.082787s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52488909 LIMIT 2 [ RunTime:0.059177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52488909 ORDER BY `minOrder` ASC [ RunTime:0.028151s ]
select * from pdf where partno='322280' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.045364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322280' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.068138s ]
SELECT `id` FROM `stock` WHERE `id` <> 52488909 AND `partno` = '322280' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.046777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19584188 [ RunTime:0.036246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52487675 LIMIT 5 [ RunTime:0.041768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52487675 ORDER BY `minOrder` ASC [ RunTime:0.034944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52487675 ORDER BY `unit` DESC [ RunTime:0.043223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52487675 LIMIT 2 [ RunTime:0.008950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52487675 ORDER BY `minOrder` ASC [ RunTime:0.025150s ]
select * from pdf where partno='322282' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.055387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '322282' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.053421s ]
SELECT `id` FROM `stock` WHERE `id` <> 52487675 AND `partno` = '322282' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.019935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15441351 [ RunTime:0.047519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51658141 LIMIT 5 [ RunTime:0.075572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51658141 ORDER BY `minOrder` ASC [ RunTime:0.055151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51658141 ORDER BY `unit` DESC [ RunTime:0.059822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51658141 LIMIT 2 [ RunTime:0.055599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51658141 ORDER BY `minOrder` ASC [ RunTime:0.079611s ]
select * from pdf where partno='32228' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.139862s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '32228' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.053502s ]
SELECT `id` FROM `stock` WHERE `id` <> 51658141 AND `partno` = '32228' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.079845s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.073678s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072152s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.167231s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117045s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067814s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035334s ]
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 '32228%' OR `brand` LIKE '32228%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.092557s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '32228%' OR `brand` LIKE '32228%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.073925s ]