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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019408s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521184 LIMIT 5 [ RunTime:0.002377s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521184 ORDER BY `minOrder` ASC [ RunTime:0.000903s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13521184 ORDER BY `unit` DESC [ RunTime:0.001980s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000966s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13521184 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521184 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51133147 LIMIT 5 [ RunTime:0.003171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51133147 ORDER BY `minOrder` ASC [ RunTime:0.002031s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51133147 ORDER BY `unit` DESC [ RunTime:0.003004s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51133147 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51133147 ORDER BY `minOrder` ASC [ RunTime:0.000558s ]
select * from pdf where partno='netm1000-8-0-sp' and brandshort='te connectivity / amp' limit 1 [ RunTime:0.001222s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002475s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'netm1000-8-0-sp' OR `brand` LIKE 'te connectivity / amp%' ) ) LIMIT 1 [ RunTime:0.001987s ]
SELECT `id` FROM `stock` WHERE `id` <> 51133147 AND `partno` = 'netm1000-8-0-sp' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity / amp%' ) [ RunTime:0.002644s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49261157 LIMIT 5 [ RunTime:0.004414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49261157 ORDER BY `minOrder` ASC [ RunTime:0.002780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49261157 ORDER BY `unit` DESC [ RunTime:0.003315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49261157 LIMIT 2 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49261157 ORDER BY `minOrder` ASC [ RunTime:0.001719s ]
select * from pdf where partno='NETM1000-8-0-SP' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.000762s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NETM1000-8-0-SP' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.000486s ]
SELECT `id` FROM `stock` WHERE `id` <> 49261157 AND `partno` = 'NETM1000-8-0-SP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.003227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521184 [ RunTime:0.000446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49260960 LIMIT 5 [ RunTime:0.000867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49260960 ORDER BY `minOrder` ASC [ RunTime:0.002988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49260960 ORDER BY `unit` DESC [ RunTime:0.009647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49260960 LIMIT 2 [ RunTime:0.002293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49260960 ORDER BY `minOrder` ASC [ RunTime:0.002467s ]
select * from pdf where partno='NETM1000-8-0-SP' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.002317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NETM1000-8-0-SP' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.003093s ]
SELECT `id` FROM `stock` WHERE `id` <> 49260960 AND `partno` = 'NETM1000-8-0-SP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.005126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36464416 [ RunTime:0.000890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36464612 LIMIT 5 [ RunTime:0.002211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36464612 ORDER BY `minOrder` ASC [ RunTime:0.003826s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36464612 ORDER BY `unit` DESC [ RunTime:0.001967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36464612 LIMIT 2 [ RunTime:0.000570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36464612 ORDER BY `minOrder` ASC [ RunTime:0.003792s ]
select * from pdf where partno='NETM1000-8-0-SP' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.003124s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NETM1000-8-0-SP' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.000690s ]
SELECT `id` FROM `stock` WHERE `id` <> 36464612 AND `partno` = 'NETM1000-8-0-SP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.007687s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521184 [ RunTime:0.000518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36464416 LIMIT 5 [ RunTime:0.000741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36464416 ORDER BY `minOrder` ASC [ RunTime:0.006587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36464416 ORDER BY `unit` DESC [ RunTime:0.009045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36464416 LIMIT 2 [ RunTime:0.009720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36464416 ORDER BY `minOrder` ASC [ RunTime:0.002888s ]
select * from pdf where partno='NETM1000-8-0-SP' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.003808s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NETM1000-8-0-SP' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.003443s ]
SELECT `id` FROM `stock` WHERE `id` <> 36464416 AND `partno` = 'NETM1000-8-0-SP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.005570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49260960 [ RunTime:0.004530s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011906s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008218s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006678s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006242s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001099s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001294s ]
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 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005723s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'NETM1000-8-0-SP%' OR `brand` LIKE 'NETM1000-8-0-SP%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004827s ]