SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001914s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003243s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13338774 LIMIT 5 [ RunTime:0.009225s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13338774 ORDER BY `minOrder` ASC [ RunTime:0.003289s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13338774 ORDER BY `unit` DESC [ RunTime:0.013204s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.016268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13338774 LIMIT 2 [ RunTime:0.011848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13338774 ORDER BY `minOrder` ASC [ RunTime:0.006673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12515809 LIMIT 5 [ RunTime:0.001917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515809 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12515809 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12515809 LIMIT 2 [ RunTime:0.011977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12515809 ORDER BY `minOrder` ASC [ RunTime:0.001466s ]
select * from pdf where partno='140542' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000611s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11675927 LIMIT 5 [ RunTime:0.009474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11675927 ORDER BY `minOrder` ASC [ RunTime:0.008395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11675927 ORDER BY `unit` DESC [ RunTime:0.011316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11675927 LIMIT 2 [ RunTime:0.003316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11675927 ORDER BY `minOrder` ASC [ RunTime:0.001361s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003062s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53554116 LIMIT 5 [ RunTime:0.020067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53554116 ORDER BY `minOrder` ASC [ RunTime:0.016407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53554116 ORDER BY `unit` DESC [ RunTime:0.002227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53554116 LIMIT 2 [ RunTime:0.000947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53554116 ORDER BY `minOrder` ASC [ RunTime:0.000671s ]
select * from pdf where partno='1405423-2' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.008059s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002929s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1405423-2' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.001764s ]
SELECT `id` FROM `stock` WHERE `id` <> 53554116 AND `partno` = '1405423-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.003413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11675927 [ RunTime:0.000568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32621351 LIMIT 5 [ RunTime:0.000848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32621351 ORDER BY `minOrder` ASC [ RunTime:0.005918s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32621351 ORDER BY `unit` DESC [ RunTime:0.007484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32621351 LIMIT 2 [ RunTime:0.003261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32621351 ORDER BY `minOrder` ASC [ RunTime:0.004030s ]
select * from pdf where partno='1405429' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.011616s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1405429' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.003406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32583717 LIMIT 5 [ RunTime:0.000606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32583717 ORDER BY `minOrder` ASC [ RunTime:0.000921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32583717 ORDER BY `unit` DESC [ RunTime:0.000571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32583717 LIMIT 2 [ RunTime:0.008143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32583717 ORDER BY `minOrder` ASC [ RunTime:0.003243s ]
select * from pdf where partno='1405428' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.001512s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1405428' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.003553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32548173 LIMIT 5 [ RunTime:0.003324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32548173 ORDER BY `minOrder` ASC [ RunTime:0.007464s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32548173 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32548173 LIMIT 2 [ RunTime:0.009678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32548173 ORDER BY `minOrder` ASC [ RunTime:0.007274s ]
select * from pdf where partno='1405427' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.003556s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1405427' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.009559s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012161s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000951s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000904s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000827s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000835s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001284s ]
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 '140542%' OR `brand` LIKE '140542%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000819s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '140542%' OR `brand` LIKE '140542%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000678s ]