SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003170s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032302s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.012836s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16410852 LIMIT 5 [ RunTime:0.008700s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16410852 ORDER BY `minOrder` ASC [ RunTime:0.006469s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16410852 ORDER BY `unit` DESC [ RunTime:0.016528s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16410852 LIMIT 2 [ RunTime:0.024985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16410852 ORDER BY `minOrder` ASC [ RunTime:0.052809s ]
select * from pdf where partno='1552400202' and brandshort='Molex' limit 1 [ RunTime:0.008262s ]
select foldpath,foldpath2,filename from pdf_file where id=1486940 limit 1 [ RunTime:0.017965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14383476 LIMIT 5 [ RunTime:0.024962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383476 ORDER BY `minOrder` ASC [ RunTime:0.032473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14383476 ORDER BY `unit` DESC [ RunTime:0.037415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14383476 LIMIT 2 [ RunTime:0.020945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383476 ORDER BY `minOrder` ASC [ RunTime:0.011504s ]
select * from pdf where partno='1552400202' and brandshort='Molex' limit 1 [ RunTime:0.014663s ]
select foldpath,foldpath2,filename from pdf_file where id=1486940 limit 1 [ RunTime:0.000331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13512214 LIMIT 5 [ RunTime:0.015758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13512214 ORDER BY `minOrder` ASC [ RunTime:0.032532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13512214 ORDER BY `unit` DESC [ RunTime:0.028994s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13512214 LIMIT 2 [ RunTime:0.018351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13512214 ORDER BY `minOrder` ASC [ RunTime:0.021210s ]
select * from pdf where partno='1552400202' and brandshort='Molex' limit 1 [ RunTime:0.013396s ]
select foldpath,foldpath2,filename from pdf_file where id=1486940 limit 1 [ RunTime:0.010620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13511823 LIMIT 5 [ RunTime:0.028179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511823 ORDER BY `minOrder` ASC [ RunTime:0.023757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13511823 ORDER BY `unit` DESC [ RunTime:0.025629s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13511823 LIMIT 2 [ RunTime:0.015073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511823 ORDER BY `minOrder` ASC [ RunTime:0.020526s ]
select * from pdf where partno='1552400202' and brandshort='Molex' limit 1 [ RunTime:0.018036s ]
select foldpath,foldpath2,filename from pdf_file where id=1486940 limit 1 [ RunTime:0.004605s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13511517 LIMIT 5 [ RunTime:0.017997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511517 ORDER BY `minOrder` ASC [ RunTime:0.004066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13511517 ORDER BY `unit` DESC [ RunTime:0.014412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13511517 LIMIT 2 [ RunTime:0.028519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511517 ORDER BY `minOrder` ASC [ RunTime:0.016473s ]
select * from pdf where partno='1552400202' and brandshort='Molex' limit 1 [ RunTime:0.013906s ]
select foldpath,foldpath2,filename from pdf_file where id=1486940 limit 1 [ RunTime:0.002394s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012119s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63041204 LIMIT 5 [ RunTime:0.019627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63041204 ORDER BY `minOrder` ASC [ RunTime:0.024265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63041204 ORDER BY `unit` DESC [ RunTime:0.019353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63041204 LIMIT 2 [ RunTime:0.024595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63041204 ORDER BY `minOrder` ASC [ RunTime:0.015133s ]
select * from pdf where partno='1552400202' and brandshort='Molex' limit 1 [ RunTime:0.002037s ]
select foldpath,foldpath2,filename from pdf_file where id=1486940 limit 1 [ RunTime:0.007295s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001522s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1552400202' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.037394s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007652s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022243s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012353s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024743s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022744s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021022s ]
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 '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017431s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1552400202%' OR `brand` LIKE '1552400202%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.022809s ]