SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003058s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063293s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.019013s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18582812 LIMIT 5 [ RunTime:0.051689s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18582812 ORDER BY `minOrder` ASC [ RunTime:0.100100s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18582812 ORDER BY `unit` DESC [ RunTime:0.167478s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007830s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18582812 LIMIT 2 [ RunTime:0.111934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18582812 ORDER BY `minOrder` ASC [ RunTime:0.000886s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16964509 LIMIT 5 [ RunTime:0.238185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16964509 ORDER BY `minOrder` ASC [ RunTime:0.178070s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16964509 ORDER BY `unit` DESC [ RunTime:0.185754s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16964509 LIMIT 2 [ RunTime:0.179045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16964509 ORDER BY `minOrder` ASC [ RunTime:0.053034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20146474 LIMIT 5 [ RunTime:0.123641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20146474 ORDER BY `minOrder` ASC [ RunTime:0.051475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20146474 ORDER BY `unit` DESC [ RunTime:0.106549s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20146474 LIMIT 2 [ RunTime:0.097726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20146474 ORDER BY `minOrder` ASC [ RunTime:0.073687s ]
select * from pdf where partno='BTA24-600CWRG(UMW)' and brandshort='UMW' limit 1 [ RunTime:0.051233s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA24-600CWRG(UMW)' OR `brand` LIKE 'UMW(友台半导体)%' ) ) LIMIT 1 [ RunTime:0.083401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18583922 LIMIT 5 [ RunTime:0.108388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18583922 ORDER BY `minOrder` ASC [ RunTime:0.064530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18583922 ORDER BY `unit` DESC [ RunTime:0.054980s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18583922 LIMIT 2 [ RunTime:0.066132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18583922 ORDER BY `minOrder` ASC [ RunTime:0.024214s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51029925 LIMIT 5 [ RunTime:0.046540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51029925 ORDER BY `minOrder` ASC [ RunTime:0.080397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51029925 ORDER BY `unit` DESC [ RunTime:0.057512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51029925 LIMIT 2 [ RunTime:0.072243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51029925 ORDER BY `minOrder` ASC [ RunTime:0.075294s ]
select * from pdf where partno='bta24-600cwrg' and brandshort='stmicroelectronics' limit 1 [ RunTime:0.052052s ]
select foldpath,foldpath2,filename from pdf_file where id=626266 limit 1 [ RunTime:0.068154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'bta24-600cwrg' OR `brand` LIKE 'stmicroelectronics%' ) ) LIMIT 1 [ RunTime:0.026895s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033701s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58723331 LIMIT 5 [ RunTime:0.032600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58723331 ORDER BY `minOrder` ASC [ RunTime:0.043759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58723331 ORDER BY `unit` DESC [ RunTime:0.023417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58723331 LIMIT 2 [ RunTime:0.048412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58723331 ORDER BY `minOrder` ASC [ RunTime:0.014869s ]
select * from pdf where partno='BTA24-600CWRG' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.047036s ]
select foldpath,foldpath2,filename from pdf_file where id=626266 limit 1 [ RunTime:0.016121s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA24-600CWRG' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.013916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58724250 LIMIT 5 [ RunTime:0.032263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58724250 ORDER BY `minOrder` ASC [ RunTime:0.028169s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58724250 ORDER BY `unit` DESC [ RunTime:0.070276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58724250 LIMIT 2 [ RunTime:0.012992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58724250 ORDER BY `minOrder` ASC [ RunTime:0.026681s ]
select * from pdf where partno='BTA24-600CWRG' and brandshort='UMW' limit 1 [ RunTime:0.041639s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA24-600CWRG' OR `brand` LIKE 'UMW%' ) ) LIMIT 1 [ RunTime:0.030420s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033932s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004338s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050744s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.081301s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043320s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017387s ]
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 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024646s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'BTA24-600CW%' OR `brand` LIKE 'BTA24-600CW%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.022837s ]