SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002326s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018509s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031565s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.013965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51055871 LIMIT 5 [ RunTime:0.020120s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.016760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51055871 ORDER BY `minOrder` ASC [ RunTime:0.013613s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001357s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51055871 ORDER BY `unit` DESC [ RunTime:0.038819s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.012605s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51055871 LIMIT 2 [ RunTime:0.007083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51055871 ORDER BY `minOrder` ASC [ RunTime:0.004542s ]
select * from pdf where partno='ths4532ipw' and brandshort='texas instruments' limit 1 [ RunTime:0.019109s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003603s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ths4532ipw' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.039415s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63606305 LIMIT 5 [ RunTime:0.032037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63606305 ORDER BY `minOrder` ASC [ RunTime:0.016468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63606305 ORDER BY `unit` DESC [ RunTime:0.008347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63606305 LIMIT 2 [ RunTime:0.062433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63606305 ORDER BY `minOrder` ASC [ RunTime:0.026419s ]
select * from pdf where partno='THS4532IPWR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.070301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'THS4532IPWR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.058540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63609164 LIMIT 5 [ RunTime:0.044293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63609164 ORDER BY `minOrder` ASC [ RunTime:0.037724s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63609164 ORDER BY `unit` DESC [ RunTime:0.056071s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63609164 LIMIT 2 [ RunTime:0.031621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63609164 ORDER BY `minOrder` ASC [ RunTime:0.047018s ]
select * from pdf where partno='THS4532IPW' and brandshort='Texas Instruments' limit 1 [ RunTime:0.047691s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'THS4532IPW' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.022620s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013828s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009002s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025799s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030955s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003694s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004284s ]
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 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009887s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ths4532ipw%' OR `brand` LIKE 'ths4532ipw%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004825s ]