SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002648s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053004s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.022099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12292614 LIMIT 5 [ RunTime:0.033912s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.020631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12292614 ORDER BY `minOrder` ASC [ RunTime:0.020754s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.014619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12292614 ORDER BY `unit` DESC [ RunTime:0.046672s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12292614 LIMIT 2 [ RunTime:0.027867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12292614 ORDER BY `minOrder` ASC [ RunTime:0.052732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12278690 LIMIT 5 [ RunTime:0.036571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12278690 ORDER BY `minOrder` ASC [ RunTime:0.028025s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12278690 ORDER BY `unit` DESC [ RunTime:0.106504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12278690 LIMIT 2 [ RunTime:0.071666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12278690 ORDER BY `minOrder` ASC [ RunTime:0.031831s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11260223 LIMIT 5 [ RunTime:0.080414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11260223 ORDER BY `minOrder` ASC [ RunTime:0.049039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11260223 ORDER BY `unit` DESC [ RunTime:0.053416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11260223 LIMIT 2 [ RunTime:0.049597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11260223 ORDER BY `minOrder` ASC [ RunTime:0.020670s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043012s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42818472 LIMIT 5 [ RunTime:0.074741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42818472 ORDER BY `minOrder` ASC [ RunTime:0.028370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42818472 ORDER BY `unit` DESC [ RunTime:0.028273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42818472 LIMIT 2 [ RunTime:0.057655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42818472 ORDER BY `minOrder` ASC [ RunTime:0.041024s ]
select * from pdf where partno='FA-20H 24.0000MF15Y-B' and brandshort='EPSON' limit 1 [ RunTime:0.042499s ]
select foldpath,foldpath2,filename from pdf_file where id=1918042 limit 1 [ RunTime:0.016313s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-20H 24.0000MF15Y-B' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.049356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42651250 LIMIT 5 [ RunTime:0.063645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42651250 ORDER BY `minOrder` ASC [ RunTime:0.070520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42651250 ORDER BY `unit` DESC [ RunTime:0.026818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42651250 LIMIT 2 [ RunTime:0.045220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42651250 ORDER BY `minOrder` ASC [ RunTime:0.024371s ]
select * from pdf where partno='FA-20H 24.0000MF15Y-B0' and brandshort='EPSON' limit 1 [ RunTime:0.051180s ]
select foldpath,foldpath2,filename from pdf_file where id=1918042 limit 1 [ RunTime:0.048359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-20H 24.0000MF15Y-B0' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.056210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42627843 LIMIT 5 [ RunTime:0.068200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42627843 ORDER BY `minOrder` ASC [ RunTime:0.085126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42627843 ORDER BY `unit` DESC [ RunTime:0.714086s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42627843 LIMIT 2 [ RunTime:0.036446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42627843 ORDER BY `minOrder` ASC [ RunTime:0.045826s ]
select * from pdf where partno='FA-20H 24.0000MF15Y-B3' and brandshort='EPSON' limit 1 [ RunTime:0.044641s ]
select foldpath,foldpath2,filename from pdf_file where id=1918042 limit 1 [ RunTime:0.029557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA-20H 24.0000MF15Y-B3' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.093189s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.062594s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030558s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044011s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068197s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016490s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016734s ]
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-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050803s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'FA-20H 24.0000MF15Y-B%' OR `brand` LIKE 'FA-20H 24.0000MF15Y-B%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.027971s ]