SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003134s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003925s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17175981 LIMIT 5 [ RunTime:0.002994s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17175981 ORDER BY `minOrder` ASC [ RunTime:0.008553s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002075s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17175981 ORDER BY `unit` DESC [ RunTime:0.001928s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17175981 LIMIT 2 [ RunTime:0.003992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17175981 ORDER BY `minOrder` ASC [ RunTime:0.001854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15383302 LIMIT 5 [ RunTime:0.003662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15383302 ORDER BY `minOrder` ASC [ RunTime:0.003603s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15383302 ORDER BY `unit` DESC [ RunTime:0.003787s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15383302 LIMIT 2 [ RunTime:0.017144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15383302 ORDER BY `minOrder` ASC [ RunTime:0.002908s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11267762 LIMIT 5 [ RunTime:0.003750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11267762 ORDER BY `minOrder` ASC [ RunTime:0.007526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11267762 ORDER BY `unit` DESC [ RunTime:0.000540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11267762 LIMIT 2 [ RunTime:0.008158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11267762 ORDER BY `minOrder` ASC [ RunTime:0.001608s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002794s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42627783 LIMIT 5 [ RunTime:0.003096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42627783 ORDER BY `minOrder` ASC [ RunTime:0.005904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42627783 ORDER BY `unit` DESC [ RunTime:0.006774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42627783 LIMIT 2 [ RunTime:0.010116s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42627783 ORDER BY `minOrder` ASC [ RunTime:0.014589s ]
select * from pdf where partno='FA-238 25.0000MD30V-K' and brandshort='EPSON' limit 1 [ RunTime:0.007954s ]
select foldpath,foldpath2,filename from pdf_file where id=1918257 limit 1 [ RunTime:0.003895s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001083s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-238 25.0000MD30V-K' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.005583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42625668 LIMIT 5 [ RunTime:0.002459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42625668 ORDER BY `minOrder` ASC [ RunTime:0.001153s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42625668 ORDER BY `unit` DESC [ RunTime:0.003341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42625668 LIMIT 2 [ RunTime:0.002501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42625668 ORDER BY `minOrder` ASC [ RunTime:0.002682s ]
select * from pdf where partno='FA-238 25.0000MD30V-K0' and brandshort='EPSON' limit 1 [ RunTime:0.000467s ]
select foldpath,foldpath2,filename from pdf_file where id=1918257 limit 1 [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-238 25.0000MD30V-K0' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.006778s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42625506 LIMIT 5 [ RunTime:0.003337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42625506 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42625506 ORDER BY `unit` DESC [ RunTime:0.000732s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42625506 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42625506 ORDER BY `minOrder` ASC [ RunTime:0.002021s ]
select * from pdf where partno='FA-238 25.0000MD30V-K5' and brandshort='EPSON' limit 1 [ RunTime:0.013244s ]
select foldpath,foldpath2,filename from pdf_file where id=1918257 limit 1 [ RunTime:0.000686s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-238 25.0000MD30V-K5' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.011867s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009381s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008836s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008115s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012468s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007616s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005435s ]
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 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006604s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'FA-238 25.0000MD30V-K%' OR `brand` LIKE 'FA-238 25.0000MD30V-K%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.007473s ]