SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001243s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036315s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19561587 LIMIT 5 [ RunTime:0.013037s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19561587 ORDER BY `minOrder` ASC [ RunTime:0.008553s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19561587 ORDER BY `unit` DESC [ RunTime:0.003223s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004633s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19561587 LIMIT 2 [ RunTime:0.001766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19561587 ORDER BY `minOrder` ASC [ RunTime:0.005695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19555937 LIMIT 5 [ RunTime:0.006468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19555937 ORDER BY `minOrder` ASC [ RunTime:0.008276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19555937 ORDER BY `unit` DESC [ RunTime:0.006022s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19555937 LIMIT 2 [ RunTime:0.005290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19555937 ORDER BY `minOrder` ASC [ RunTime:0.001790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11364066 LIMIT 5 [ RunTime:0.004935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11364066 ORDER BY `minOrder` ASC [ RunTime:0.007921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11364066 ORDER BY `unit` DESC [ RunTime:0.000595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11364066 LIMIT 2 [ RunTime:0.004681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11364066 ORDER BY `minOrder` ASC [ RunTime:0.000680s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002707s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58412687 LIMIT 5 [ RunTime:0.022442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58412687 ORDER BY `minOrder` ASC [ RunTime:0.010806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58412687 ORDER BY `unit` DESC [ RunTime:0.008817s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58412687 LIMIT 2 [ RunTime:0.006630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58412687 ORDER BY `minOrder` ASC [ RunTime:0.011188s ]
select * from pdf where partno='A28KB-BH' and brandshort='NKK Switches' limit 1 [ RunTime:0.016850s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002485s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A28KB-BH' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.013819s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58418299 LIMIT 5 [ RunTime:0.022509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58418299 ORDER BY `minOrder` ASC [ RunTime:0.018588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58418299 ORDER BY `unit` DESC [ RunTime:0.010165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58418299 LIMIT 2 [ RunTime:0.009799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58418299 ORDER BY `minOrder` ASC [ RunTime:0.003640s ]
select * from pdf where partno='A28KB-BA' and brandshort='NKK Switches' limit 1 [ RunTime:0.015663s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A28KB-BA' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.028038s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58413484 LIMIT 5 [ RunTime:0.023890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58413484 ORDER BY `minOrder` ASC [ RunTime:0.014712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58413484 ORDER BY `unit` DESC [ RunTime:0.025927s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58413484 LIMIT 2 [ RunTime:0.035832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58413484 ORDER BY `minOrder` ASC [ RunTime:0.071947s ]
select * from pdf where partno='A28KB-AH' and brandshort='NKK Switches' limit 1 [ RunTime:0.053969s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A28KB-AH' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.016393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43788186 LIMIT 5 [ RunTime:0.022618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43788186 ORDER BY `minOrder` ASC [ RunTime:0.022074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43788186 ORDER BY `unit` DESC [ RunTime:0.006271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43788186 LIMIT 2 [ RunTime:0.009479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43788186 ORDER BY `minOrder` ASC [ RunTime:0.001503s ]
select * from pdf where partno='A28KB-CE' and brandshort='NKK Switches' limit 1 [ RunTime:0.005725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A28KB-CE' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.005136s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43782205 LIMIT 5 [ RunTime:0.020105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43782205 ORDER BY `minOrder` ASC [ RunTime:0.020576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43782205 ORDER BY `unit` DESC [ RunTime:0.008490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43782205 LIMIT 2 [ RunTime:0.020975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43782205 ORDER BY `minOrder` ASC [ RunTime:0.000976s ]
select * from pdf where partno='A28KB' and brandshort='NKK Switches' limit 1 [ RunTime:0.027129s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A28KB' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.014828s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015438s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012913s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011790s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008126s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004526s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018930s ]
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 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021592s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'A28KB%' OR `brand` LIKE 'A28KB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002784s ]