SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002852s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014882s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19556095 LIMIT 5 [ RunTime:0.001936s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19556095 ORDER BY `minOrder` ASC [ RunTime:0.046411s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.020708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19556095 ORDER BY `unit` DESC [ RunTime:0.030511s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19556095 LIMIT 2 [ RunTime:0.024845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19556095 ORDER BY `minOrder` ASC [ RunTime:0.009391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19556093 LIMIT 5 [ RunTime:0.029068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19556093 ORDER BY `minOrder` ASC [ RunTime:0.012975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19556093 ORDER BY `unit` DESC [ RunTime:0.053960s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19556093 LIMIT 2 [ RunTime:0.026143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19556093 ORDER BY `minOrder` ASC [ RunTime:0.127859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19556014 LIMIT 5 [ RunTime:0.052811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19556014 ORDER BY `minOrder` ASC [ RunTime:0.036020s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19556014 ORDER BY `unit` DESC [ RunTime:0.062553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19556014 LIMIT 2 [ RunTime:0.100220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19556014 ORDER BY `minOrder` ASC [ RunTime:0.031362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19555335 LIMIT 5 [ RunTime:0.052212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19555335 ORDER BY `minOrder` ASC [ RunTime:0.028364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19555335 ORDER BY `unit` DESC [ RunTime:0.045028s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19555335 LIMIT 2 [ RunTime:0.082560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19555335 ORDER BY `minOrder` ASC [ RunTime:0.186615s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029500s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.112258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43807667 LIMIT 5 [ RunTime:0.170736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43807667 ORDER BY `minOrder` ASC [ RunTime:0.075767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43807667 ORDER BY `unit` DESC [ RunTime:0.127056s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43807667 LIMIT 2 [ RunTime:0.045385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43807667 ORDER BY `minOrder` ASC [ RunTime:0.044416s ]
select * from pdf where partno='MNL12PCW01-G' and brandshort='NKK Switches' limit 1 [ RunTime:0.039124s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.033631s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MNL12PCW01-G' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.031617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43807665 LIMIT 5 [ RunTime:0.094768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43807665 ORDER BY `minOrder` ASC [ RunTime:0.048342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43807665 ORDER BY `unit` DESC [ RunTime:0.094509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43807665 LIMIT 2 [ RunTime:0.077350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43807665 ORDER BY `minOrder` ASC [ RunTime:0.010898s ]
select * from pdf where partno='MNL12PCW01-A' and brandshort='NKK Switches' limit 1 [ RunTime:0.022434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MNL12PCW01-A' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.018387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43807268 LIMIT 5 [ RunTime:0.074263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43807268 ORDER BY `minOrder` ASC [ RunTime:0.078049s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43807268 ORDER BY `unit` DESC [ RunTime:0.119257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43807268 LIMIT 2 [ RunTime:0.084519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43807268 ORDER BY `minOrder` ASC [ RunTime:0.034128s ]
select * from pdf where partno='MNL12PCW01-C' and brandshort='NKK Switches' limit 1 [ RunTime:0.024202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MNL12PCW01-C' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.115998s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43804532 LIMIT 5 [ RunTime:0.030449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43804532 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43804532 ORDER BY `unit` DESC [ RunTime:0.035130s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43804532 LIMIT 2 [ RunTime:0.038367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43804532 ORDER BY `minOrder` ASC [ RunTime:0.006754s ]
select * from pdf where partno='MNL12PCW01' and brandshort='NKK Switches' limit 1 [ RunTime:0.022452s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MNL12PCW01' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.028482s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.133156s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.109164s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.178138s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027819s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054652s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.247363s ]
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 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037310s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MNL12PCW01%' OR `brand` LIKE 'MNL12PCW01%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.076596s ]