SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001673s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012048s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001660s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12442048 LIMIT 5 [ RunTime:0.032716s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12442048 ORDER BY `minOrder` ASC [ RunTime:0.010237s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001980s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12442048 ORDER BY `unit` DESC [ RunTime:0.008818s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12442048 LIMIT 2 [ RunTime:0.025280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12442048 ORDER BY `minOrder` ASC [ RunTime:0.029192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17273066 LIMIT 5 [ RunTime:0.031870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17273066 ORDER BY `minOrder` ASC [ RunTime:0.037760s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17273066 ORDER BY `unit` DESC [ RunTime:0.008203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17273066 LIMIT 2 [ RunTime:0.063940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17273066 ORDER BY `minOrder` ASC [ RunTime:0.042210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11350311 LIMIT 5 [ RunTime:0.022480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11350311 ORDER BY `minOrder` ASC [ RunTime:0.026264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11350311 ORDER BY `unit` DESC [ RunTime:0.069279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11350311 LIMIT 2 [ RunTime:0.007275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11350311 ORDER BY `minOrder` ASC [ RunTime:0.043026s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11350310 LIMIT 5 [ RunTime:0.066446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11350310 ORDER BY `minOrder` ASC [ RunTime:0.048968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11350310 ORDER BY `unit` DESC [ RunTime:0.014646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11350310 LIMIT 2 [ RunTime:0.064555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11350310 ORDER BY `minOrder` ASC [ RunTime:0.014323s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042340s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.102476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43832666 LIMIT 5 [ RunTime:0.071198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43832666 ORDER BY `minOrder` ASC [ RunTime:0.021375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43832666 ORDER BY `unit` DESC [ RunTime:0.037799s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43832666 LIMIT 2 [ RunTime:0.025957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43832666 ORDER BY `minOrder` ASC [ RunTime:0.047204s ]
select * from pdf where partno='UB25NKG015C' and brandshort='NKK Switches' limit 1 [ RunTime:0.009096s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002748s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB25NKG015C' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.025903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43834786 LIMIT 5 [ RunTime:0.012361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834786 ORDER BY `minOrder` ASC [ RunTime:0.026324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43834786 ORDER BY `unit` DESC [ RunTime:0.014421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43834786 LIMIT 2 [ RunTime:0.026250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834786 ORDER BY `minOrder` ASC [ RunTime:0.003058s ]
select * from pdf where partno='UB25NKG015C-CC' and brandshort='NKK Switches' limit 1 [ RunTime:0.006456s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB25NKG015C-CC' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.019375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43834785 LIMIT 5 [ RunTime:0.041601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834785 ORDER BY `minOrder` ASC [ RunTime:0.018114s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43834785 ORDER BY `unit` DESC [ RunTime:0.003496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43834785 LIMIT 2 [ RunTime:0.007347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834785 ORDER BY `minOrder` ASC [ RunTime:0.001748s ]
select * from pdf where partno='UB25NKG015C-JB' and brandshort='NKK Switches' limit 1 [ RunTime:0.000513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB25NKG015C-JB' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.002791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43834784 LIMIT 5 [ RunTime:0.015796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834784 ORDER BY `minOrder` ASC [ RunTime:0.003104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43834784 ORDER BY `unit` DESC [ RunTime:0.000520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43834784 LIMIT 2 [ RunTime:0.003753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834784 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
select * from pdf where partno='UB25NKG015C-JC' and brandshort='NKK Switches' limit 1 [ RunTime:0.001581s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UB25NKG015C-JC' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.005009s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005246s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008932s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018547s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007830s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017924s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019600s ]
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 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007498s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UB25NKG015C%' OR `brand` LIKE 'UB25NKG015C%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001738s ]