SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002085s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002609s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521183 LIMIT 5 [ RunTime:0.000368s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521183 ORDER BY `minOrder` ASC [ RunTime:0.001050s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13521183 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001737s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13521183 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521183 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521127 LIMIT 5 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521127 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13521127 ORDER BY `unit` DESC [ RunTime:0.000204s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13521127 LIMIT 2 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521127 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001374s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36463710 LIMIT 5 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36463710 ORDER BY `minOrder` ASC [ RunTime:0.000923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36463710 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36463710 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36463710 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
select * from pdf where partno='NETM1000-4-0-SP' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.001465s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NETM1000-4-0-SP' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.000808s ]
SELECT `id` FROM `stock` WHERE `id` <> 36463710 AND `partno` = 'NETM1000-4-0-SP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.000801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521127 [ RunTime:0.000315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49260257 LIMIT 5 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49260257 ORDER BY `minOrder` ASC [ RunTime:0.001033s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49260257 ORDER BY `unit` DESC [ RunTime:0.000448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49260257 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49260257 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
select * from pdf where partno='NETM1000-4-0-SP' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.000428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NETM1000-4-0-SP' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.000259s ]
SELECT `id` FROM `stock` WHERE `id` <> 49260257 AND `partno` = 'NETM1000-4-0-SP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.000629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521127 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49260930 LIMIT 5 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49260930 ORDER BY `minOrder` ASC [ RunTime:0.000562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49260930 ORDER BY `unit` DESC [ RunTime:0.000423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49260930 LIMIT 2 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49260930 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='NETM1000-4-0-SP' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000664s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NETM1000-4-0-SP' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000673s ]
SELECT `id` FROM `stock` WHERE `id` <> 49260930 AND `partno` = 'NETM1000-4-0-SP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36464384 [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36464384 LIMIT 5 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36464384 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36464384 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36464384 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36464384 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
select * from pdf where partno='NETM1000-4-0-SP' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NETM1000-4-0-SP' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000195s ]
SELECT `id` FROM `stock` WHERE `id` <> 36464384 AND `partno` = 'NETM1000-4-0-SP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49260930 [ RunTime:0.000309s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000666s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000553s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000545s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000535s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000543s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000543s ]
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-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000494s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'NETM1000-4-0-SP%' OR `brand` LIKE 'NETM1000-4-0-SP%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000427s ]