SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001504s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016101s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11348007 LIMIT 5 [ RunTime:0.032030s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11348007 ORDER BY `minOrder` ASC [ RunTime:0.019689s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11348007 ORDER BY `unit` DESC [ RunTime:0.028200s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11348007 LIMIT 2 [ RunTime:0.010180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11348007 ORDER BY `minOrder` ASC [ RunTime:0.008533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12412506 LIMIT 5 [ RunTime:0.001375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12412506 ORDER BY `minOrder` ASC [ RunTime:0.003449s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12412506 ORDER BY `unit` DESC [ RunTime:0.015428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12412506 LIMIT 2 [ RunTime:0.011389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12412506 ORDER BY `minOrder` ASC [ RunTime:0.003599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12412500 LIMIT 5 [ RunTime:0.011970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12412500 ORDER BY `minOrder` ASC [ RunTime:0.016048s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12412500 ORDER BY `unit` DESC [ RunTime:0.001698s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12412500 LIMIT 2 [ RunTime:0.005698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12412500 ORDER BY `minOrder` ASC [ RunTime:0.005731s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12441625 LIMIT 5 [ RunTime:0.000912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12441625 ORDER BY `minOrder` ASC [ RunTime:0.001371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12441625 ORDER BY `unit` DESC [ RunTime:0.002240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12441625 LIMIT 2 [ RunTime:0.004093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12441625 ORDER BY `minOrder` ASC [ RunTime:0.008371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12415979 LIMIT 5 [ RunTime:0.028347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12415979 ORDER BY `minOrder` ASC [ RunTime:0.024515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12415979 ORDER BY `unit` DESC [ RunTime:0.011596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12415979 LIMIT 2 [ RunTime:0.011179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12415979 ORDER BY `minOrder` ASC [ RunTime:0.012243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12415978 LIMIT 5 [ RunTime:0.010553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12415978 ORDER BY `minOrder` ASC [ RunTime:0.007478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12415978 ORDER BY `unit` DESC [ RunTime:0.009173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12415978 LIMIT 2 [ RunTime:0.024353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12415978 ORDER BY `minOrder` ASC [ RunTime:0.004720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12415076 LIMIT 5 [ RunTime:0.031798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12415076 ORDER BY `minOrder` ASC [ RunTime:0.013748s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12415076 ORDER BY `unit` DESC [ RunTime:0.027566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12415076 LIMIT 2 [ RunTime:0.038227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12415076 ORDER BY `minOrder` ASC [ RunTime:0.010007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12414591 LIMIT 5 [ RunTime:0.025943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12414591 ORDER BY `minOrder` ASC [ RunTime:0.030631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12414591 ORDER BY `unit` DESC [ RunTime:0.035246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12414591 LIMIT 2 [ RunTime:0.073375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12414591 ORDER BY `minOrder` ASC [ RunTime:0.001429s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021607s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030124s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43824318 LIMIT 5 [ RunTime:0.018787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824318 ORDER BY `minOrder` ASC [ RunTime:0.018189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43824318 ORDER BY `unit` DESC [ RunTime:0.030669s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43824318 LIMIT 2 [ RunTime:0.036077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824318 ORDER BY `minOrder` ASC [ RunTime:0.014608s ]
select * from pdf where partno='BB15AH-FC' and brandshort='NKK Switches' limit 1 [ RunTime:0.020677s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002501s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BB15AH-FC' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.070295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43824309 LIMIT 5 [ RunTime:0.053082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824309 ORDER BY `minOrder` ASC [ RunTime:0.074179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43824309 ORDER BY `unit` DESC [ RunTime:0.029004s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43824309 LIMIT 2 [ RunTime:0.041097s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824309 ORDER BY `minOrder` ASC [ RunTime:0.044060s ]
select * from pdf where partno='BB15AH' and brandshort='NKK Switches' limit 1 [ RunTime:0.011464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BB15AH' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.021459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43824736 LIMIT 5 [ RunTime:0.014440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824736 ORDER BY `minOrder` ASC [ RunTime:0.019979s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43824736 ORDER BY `unit` DESC [ RunTime:0.021270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43824736 LIMIT 2 [ RunTime:0.010846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824736 ORDER BY `minOrder` ASC [ RunTime:0.003786s ]
select * from pdf where partno='BB15AH-FB' and brandshort='NKK Switches' limit 1 [ RunTime:0.002215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BB15AH-FB' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.030361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43824019 LIMIT 5 [ RunTime:0.008564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824019 ORDER BY `minOrder` ASC [ RunTime:0.048851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43824019 ORDER BY `unit` DESC [ RunTime:0.030360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43824019 LIMIT 2 [ RunTime:0.008371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824019 ORDER BY `minOrder` ASC [ RunTime:0.020998s ]
select * from pdf where partno='BB15AH-FA' and brandshort='NKK Switches' limit 1 [ RunTime:0.015301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BB15AH-FA' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.004385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43839106 LIMIT 5 [ RunTime:0.008150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43839106 ORDER BY `minOrder` ASC [ RunTime:0.033085s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43839106 ORDER BY `unit` DESC [ RunTime:0.015092s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43839106 LIMIT 2 [ RunTime:0.037874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43839106 ORDER BY `minOrder` ASC [ RunTime:0.030310s ]
select * from pdf where partno='BB15AH-HC' and brandshort='NKK Switches' limit 1 [ RunTime:0.056045s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BB15AH-HC' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.042440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43838437 LIMIT 5 [ RunTime:0.027150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43838437 ORDER BY `minOrder` ASC [ RunTime:0.022130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43838437 ORDER BY `unit` DESC [ RunTime:0.044147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43838437 LIMIT 2 [ RunTime:0.010055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43838437 ORDER BY `minOrder` ASC [ RunTime:0.013626s ]
select * from pdf where partno='BB15AH/328' and brandshort='NKK Switches' limit 1 [ RunTime:0.006732s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BB15AH/328' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.029318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43825796 LIMIT 5 [ RunTime:0.033471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43825796 ORDER BY `minOrder` ASC [ RunTime:0.047335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43825796 ORDER BY `unit` DESC [ RunTime:0.013898s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43825796 LIMIT 2 [ RunTime:0.025046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43825796 ORDER BY `minOrder` ASC [ RunTime:0.011985s ]
select * from pdf where partno='BB15AH-HB' and brandshort='NKK Switches' limit 1 [ RunTime:0.025260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BB15AH-HB' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.006928s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43825795 LIMIT 5 [ RunTime:0.000891s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43825795 ORDER BY `minOrder` ASC [ RunTime:0.001948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43825795 ORDER BY `unit` DESC [ RunTime:0.006708s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43825795 LIMIT 2 [ RunTime:0.027088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43825795 ORDER BY `minOrder` ASC [ RunTime:0.003433s ]
select * from pdf where partno='BB15AH-HA' and brandshort='NKK Switches' limit 1 [ RunTime:0.004422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BB15AH-HA' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.006134s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021395s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047751s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020522s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006052s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012017s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007275s ]
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 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016720s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'BB15AH%' OR `brand` LIKE 'BB15AH%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.008324s ]