SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002174s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008624s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17181147 LIMIT 5 [ RunTime:0.027953s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17181147 ORDER BY `minOrder` ASC [ RunTime:0.016625s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17181147 ORDER BY `unit` DESC [ RunTime:0.023571s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006641s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17181147 LIMIT 2 [ RunTime:0.036392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17181147 ORDER BY `minOrder` ASC [ RunTime:0.015805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12297648 LIMIT 5 [ RunTime:0.092524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12297648 ORDER BY `minOrder` ASC [ RunTime:0.030916s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12297648 ORDER BY `unit` DESC [ RunTime:0.000909s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12297648 LIMIT 2 [ RunTime:0.000667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12297648 ORDER BY `minOrder` ASC [ RunTime:0.000642s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12279436 LIMIT 5 [ RunTime:0.001150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12279436 ORDER BY `minOrder` ASC [ RunTime:0.007970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12279436 ORDER BY `unit` DESC [ RunTime:0.007165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12279436 LIMIT 2 [ RunTime:0.004445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12279436 ORDER BY `minOrder` ASC [ RunTime:0.004669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12279427 LIMIT 5 [ RunTime:0.015328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12279427 ORDER BY `minOrder` ASC [ RunTime:0.012170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12279427 ORDER BY `unit` DESC [ RunTime:0.003121s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12279427 LIMIT 2 [ RunTime:0.000811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12279427 ORDER BY `minOrder` ASC [ RunTime:0.003911s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007064s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42623622 LIMIT 5 [ RunTime:0.007393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42623622 ORDER BY `minOrder` ASC [ RunTime:0.006676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42623622 ORDER BY `unit` DESC [ RunTime:0.001721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42623622 LIMIT 2 [ RunTime:0.000672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42623622 ORDER BY `minOrder` ASC [ RunTime:0.000709s ]
select * from pdf where partno='FA-238V 12.0000MB-C5' and brandshort='EPSON' limit 1 [ RunTime:0.001568s ]
select foldpath,foldpath2,filename from pdf_file where id=1918257 limit 1 [ RunTime:0.001174s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003452s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-238V 12.0000MB-C5' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.005890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42617796 LIMIT 5 [ RunTime:0.001168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42617796 ORDER BY `minOrder` ASC [ RunTime:0.000890s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42617796 ORDER BY `unit` DESC [ RunTime:0.001258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42617796 LIMIT 2 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42617796 ORDER BY `minOrder` ASC [ RunTime:0.000455s ]
select * from pdf where partno='FA-238V 12.0000MB-C0' and brandshort='EPSON' limit 1 [ RunTime:0.000998s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-238V 12.0000MB-C0' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.007233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42615849 LIMIT 5 [ RunTime:0.001299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42615849 ORDER BY `minOrder` ASC [ RunTime:0.001408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42615849 ORDER BY `unit` DESC [ RunTime:0.000754s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42615849 LIMIT 2 [ RunTime:0.001118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42615849 ORDER BY `minOrder` ASC [ RunTime:0.000604s ]
select * from pdf where partno='FA-238V 12.0000MB-C' and brandshort='EPSON' limit 1 [ RunTime:0.001073s ]
select foldpath,foldpath2,filename from pdf_file where id=1918257 limit 1 [ RunTime:0.001342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-238V 12.0000MB-C' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.004904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42613458 LIMIT 5 [ RunTime:0.002032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42613458 ORDER BY `minOrder` ASC [ RunTime:0.001120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42613458 ORDER BY `unit` DESC [ RunTime:0.000612s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42613458 LIMIT 2 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42613458 ORDER BY `minOrder` ASC [ RunTime:0.000587s ]
select * from pdf where partno='FA-238V 12.0000MB-C3' and brandshort='EPSON' limit 1 [ RunTime:0.000750s ]
select foldpath,foldpath2,filename from pdf_file where id=1918257 limit 1 [ RunTime:0.001270s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-238V 12.0000MB-C3' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.003833s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006167s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001020s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000793s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000881s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000802s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002099s ]
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-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000947s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'FA-238V 12.0000MB-C%' OR `brand` LIKE 'FA-238V 12.0000MB-C%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000837s ]