SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002310s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003337s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19212129 LIMIT 5 [ RunTime:0.006204s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19212129 ORDER BY `minOrder` ASC [ RunTime:0.000679s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19212129 ORDER BY `unit` DESC [ RunTime:0.003400s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001923s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19212129 LIMIT 2 [ RunTime:0.006671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19212129 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
select * from pdf where partno='S1C17M23F001100-490' and brandshort='EPSON' limit 1 [ RunTime:0.005322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16108173 LIMIT 5 [ RunTime:0.001742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16108173 ORDER BY `minOrder` ASC [ RunTime:0.000682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16108173 ORDER BY `unit` DESC [ RunTime:0.000456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16108173 LIMIT 2 [ RunTime:0.000637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16108173 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005277s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49754247 LIMIT 5 [ RunTime:0.002703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49754247 ORDER BY `minOrder` ASC [ RunTime:0.003025s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49754247 ORDER BY `unit` DESC [ RunTime:0.001459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49754247 LIMIT 2 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49754247 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
select * from pdf where partno='S1C17M23F001100-490' and brandshort='EPSON' limit 1 [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002562s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1C17M23F001100-490' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.007852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49752447 LIMIT 5 [ RunTime:0.001280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49752447 ORDER BY `minOrder` ASC [ RunTime:0.001359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49752447 ORDER BY `unit` DESC [ RunTime:0.000566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49752447 LIMIT 2 [ RunTime:0.000631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49752447 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='S1C17M23F001100' and brandshort='EPSON' limit 1 [ RunTime:0.000564s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1C17M23F001100' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.000376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36947418 LIMIT 5 [ RunTime:0.000530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36947418 ORDER BY `minOrder` ASC [ RunTime:0.000939s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36947418 ORDER BY `unit` DESC [ RunTime:0.005991s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36947418 LIMIT 2 [ RunTime:0.010715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36947418 ORDER BY `minOrder` ASC [ RunTime:0.002836s ]
select * from pdf where partno='S1C17M23F001100-490' and brandshort='EPSON' limit 1 [ RunTime:0.000591s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1C17M23F001100-490' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.000375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36945638 LIMIT 5 [ RunTime:0.004285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36945638 ORDER BY `minOrder` ASC [ RunTime:0.008312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36945638 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36945638 LIMIT 2 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36945638 ORDER BY `minOrder` ASC [ RunTime:0.001519s ]
select * from pdf where partno='S1C17M23F001100' and brandshort='EPSON' limit 1 [ RunTime:0.000421s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1C17M23F001100' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.000330s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005737s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003136s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000922s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002309s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000981s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016329s ]
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 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004394s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'S1C17M23F001100%' OR `brand` LIKE 'S1C17M23F001100%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004988s ]