SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002426s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017287s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17284948 LIMIT 5 [ RunTime:0.008621s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17284948 ORDER BY `minOrder` ASC [ RunTime:0.027770s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17284948 ORDER BY `unit` DESC [ RunTime:0.018747s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17284948 LIMIT 2 [ RunTime:0.012869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17284948 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11361302 LIMIT 5 [ RunTime:0.020099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11361302 ORDER BY `minOrder` ASC [ RunTime:0.005812s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11361302 ORDER BY `unit` DESC [ RunTime:0.025592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11361302 LIMIT 2 [ RunTime:0.020219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11361302 ORDER BY `minOrder` ASC [ RunTime:0.002732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11361286 LIMIT 5 [ RunTime:0.022871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11361286 ORDER BY `minOrder` ASC [ RunTime:0.045877s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11361286 ORDER BY `unit` DESC [ RunTime:0.011294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11361286 LIMIT 2 [ RunTime:0.064680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11361286 ORDER BY `minOrder` ASC [ RunTime:0.074833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12441476 LIMIT 5 [ RunTime:0.032049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12441476 ORDER BY `minOrder` ASC [ RunTime:0.028146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12441476 ORDER BY `unit` DESC [ RunTime:0.055614s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12441476 LIMIT 2 [ RunTime:0.001817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12441476 ORDER BY `minOrder` ASC [ RunTime:0.015078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12443066 LIMIT 5 [ RunTime:0.034720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12443066 ORDER BY `minOrder` ASC [ RunTime:0.004914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12443066 ORDER BY `unit` DESC [ RunTime:0.020396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12443066 LIMIT 2 [ RunTime:0.039289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12443066 ORDER BY `minOrder` ASC [ RunTime:0.017226s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016910s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43831659 LIMIT 5 [ RunTime:0.064220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43831659 ORDER BY `minOrder` ASC [ RunTime:0.042634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43831659 ORDER BY `unit` DESC [ RunTime:0.029206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43831659 LIMIT 2 [ RunTime:0.028356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43831659 ORDER BY `minOrder` ASC [ RunTime:0.032265s ]
select * from pdf where partno='UB15NBKG015F-AB' and brandshort='NKK Switches' limit 1 [ RunTime:0.003752s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB15NBKG015F-AB' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.009177s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43831577 LIMIT 5 [ RunTime:0.037914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43831577 ORDER BY `minOrder` ASC [ RunTime:0.026167s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43831577 ORDER BY `unit` DESC [ RunTime:0.009911s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43831577 LIMIT 2 [ RunTime:0.027732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43831577 ORDER BY `minOrder` ASC [ RunTime:0.017904s ]
select * from pdf where partno='UB15NBKG015F-JB' and brandshort='NKK Switches' limit 1 [ RunTime:0.047021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB15NBKG015F-JB' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.011285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43831532 LIMIT 5 [ RunTime:0.031262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43831532 ORDER BY `minOrder` ASC [ RunTime:0.039810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43831532 ORDER BY `unit` DESC [ RunTime:0.029138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43831532 LIMIT 2 [ RunTime:0.079271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43831532 ORDER BY `minOrder` ASC [ RunTime:0.018281s ]
select * from pdf where partno='UB15NBKG015F' and brandshort='NKK Switches' limit 1 [ RunTime:0.005467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB15NBKG015F' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.008391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43831579 LIMIT 5 [ RunTime:0.011046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43831579 ORDER BY `minOrder` ASC [ RunTime:0.003871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43831579 ORDER BY `unit` DESC [ RunTime:0.002997s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43831579 LIMIT 2 [ RunTime:0.000677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43831579 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
select * from pdf where partno='UB15NBKG015F-JF' and brandshort='NKK Switches' limit 1 [ RunTime:0.008679s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB15NBKG015F-JF' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.003881s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43834605 LIMIT 5 [ RunTime:0.004766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834605 ORDER BY `minOrder` ASC [ RunTime:0.012162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43834605 ORDER BY `unit` DESC [ RunTime:0.000520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43834605 LIMIT 2 [ RunTime:0.000643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834605 ORDER BY `minOrder` ASC [ RunTime:0.010823s ]
select * from pdf where partno='UB15NBKG015F-FB' and brandshort='NKK Switches' limit 1 [ RunTime:0.003361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB15NBKG015F-FB' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.000522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43834604 LIMIT 5 [ RunTime:0.002091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834604 ORDER BY `minOrder` ASC [ RunTime:0.015869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43834604 ORDER BY `unit` DESC [ RunTime:0.013479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43834604 LIMIT 2 [ RunTime:0.014278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834604 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
select * from pdf where partno='UB15NBKG015F-FF' and brandshort='NKK Switches' limit 1 [ RunTime:0.005035s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB15NBKG015F-FF' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.011641s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011383s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001736s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005987s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005268s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005362s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006501s ]
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 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008012s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UB15NBKG015F%' OR `brand` LIKE 'UB15NBKG015F%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009738s ]