SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002776s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020810s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14385257 LIMIT 5 [ RunTime:0.016405s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14385257 ORDER BY `minOrder` ASC [ RunTime:0.025258s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.018423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14385257 ORDER BY `unit` DESC [ RunTime:0.006640s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14385257 LIMIT 2 [ RunTime:0.020429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14385257 ORDER BY `minOrder` ASC [ RunTime:0.013425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14383904 LIMIT 5 [ RunTime:0.037674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383904 ORDER BY `minOrder` ASC [ RunTime:0.005521s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14383904 ORDER BY `unit` DESC [ RunTime:0.005199s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14383904 LIMIT 2 [ RunTime:0.008978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383904 ORDER BY `minOrder` ASC [ RunTime:0.005512s ]
select * from pdf where partno='1554216007' and brandshort='Molex' limit 1 [ RunTime:0.016526s ]
select foldpath,foldpath2,filename from pdf_file where id=1836681 limit 1 [ RunTime:0.007182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13511042 LIMIT 5 [ RunTime:0.025058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511042 ORDER BY `minOrder` ASC [ RunTime:0.006991s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13511042 ORDER BY `unit` DESC [ RunTime:0.020999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13511042 LIMIT 2 [ RunTime:0.034051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511042 ORDER BY `minOrder` ASC [ RunTime:0.009707s ]
select * from pdf where partno='1554216007' and brandshort='Molex' limit 1 [ RunTime:0.005615s ]
select foldpath,foldpath2,filename from pdf_file where id=1836681 limit 1 [ RunTime:0.010858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13510143 LIMIT 5 [ RunTime:0.025750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13510143 ORDER BY `minOrder` ASC [ RunTime:0.010506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13510143 ORDER BY `unit` DESC [ RunTime:0.035672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13510143 LIMIT 2 [ RunTime:0.010036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13510143 ORDER BY `minOrder` ASC [ RunTime:0.006653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13508926 LIMIT 5 [ RunTime:0.033308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13508926 ORDER BY `minOrder` ASC [ RunTime:0.017475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13508926 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13508926 LIMIT 2 [ RunTime:0.029788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13508926 ORDER BY `minOrder` ASC [ RunTime:0.038722s ]
select * from pdf where partno='1554216007' and brandshort='Molex' limit 1 [ RunTime:0.016629s ]
select foldpath,foldpath2,filename from pdf_file where id=1836681 limit 1 [ RunTime:0.034785s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13503260 LIMIT 5 [ RunTime:0.048285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13503260 ORDER BY `minOrder` ASC [ RunTime:0.004968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13503260 ORDER BY `unit` DESC [ RunTime:0.001905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13503260 LIMIT 2 [ RunTime:0.061593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13503260 ORDER BY `minOrder` ASC [ RunTime:0.067382s ]
select * from pdf where partno='1554216007' and brandshort='Molex' limit 1 [ RunTime:0.030249s ]
select foldpath,foldpath2,filename from pdf_file where id=1836681 limit 1 [ RunTime:0.012511s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024274s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027212s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017085s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019826s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022466s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030601s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044893s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038985s ]
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 '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040741s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554216007%' OR `brand` LIKE '1554216007%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.040433s ]