SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001386s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.094582s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001502s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16038177 LIMIT 5 [ RunTime:0.025190s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16038177 ORDER BY `minOrder` ASC [ RunTime:0.034697s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001758s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16038177 ORDER BY `unit` DESC [ RunTime:0.027239s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.015319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16038177 LIMIT 2 [ RunTime:0.044598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16038177 ORDER BY `minOrder` ASC [ RunTime:0.024026s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17076927 LIMIT 5 [ RunTime:0.055082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17076927 ORDER BY `minOrder` ASC [ RunTime:0.020733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17076927 ORDER BY `unit` DESC [ RunTime:0.023723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17076927 LIMIT 2 [ RunTime:0.078167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17076927 ORDER BY `minOrder` ASC [ RunTime:0.040464s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035168s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49821624 LIMIT 5 [ RunTime:0.095897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49821624 ORDER BY `minOrder` ASC [ RunTime:0.008440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49821624 ORDER BY `unit` DESC [ RunTime:0.040306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49821624 LIMIT 2 [ RunTime:0.094884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49821624 ORDER BY `minOrder` ASC [ RunTime:0.022582s ]
select * from pdf where partno='CAT1025WI-25-GT3' and brandshort='onsemi' limit 1 [ RunTime:0.017167s ]
select foldpath,foldpath2,filename from pdf_file where id=698115 limit 1 [ RunTime:0.035506s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002567s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT1025WI-25-GT3' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.045799s ]
SELECT `id` FROM `stock` WHERE `id` <> 49821624 AND `partno` = 'CAT1025WI-25-GT3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.060805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16038177 [ RunTime:0.015898s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37014574 LIMIT 5 [ RunTime:0.011961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37014574 ORDER BY `minOrder` ASC [ RunTime:0.012042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37014574 ORDER BY `unit` DESC [ RunTime:0.013713s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37014574 LIMIT 2 [ RunTime:0.006399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37014574 ORDER BY `minOrder` ASC [ RunTime:0.008004s ]
select * from pdf where partno='CAT1025WI-25-GT3' and brandshort='onsemi' limit 1 [ RunTime:0.001802s ]
select foldpath,foldpath2,filename from pdf_file where id=698115 limit 1 [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT1025WI-25-GT3' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.001565s ]
SELECT `id` FROM `stock` WHERE `id` <> 37014574 AND `partno` = 'CAT1025WI-25-GT3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.002704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16038177 [ RunTime:0.001310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49821892 LIMIT 5 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49821892 ORDER BY `minOrder` ASC [ RunTime:0.008160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49821892 ORDER BY `unit` DESC [ RunTime:0.000511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49821892 LIMIT 2 [ RunTime:0.002793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49821892 ORDER BY `minOrder` ASC [ RunTime:0.000936s ]
select * from pdf where partno='CAT1025WI-25-G' and brandshort='onsemi' limit 1 [ RunTime:0.000853s ]
select foldpath,foldpath2,filename from pdf_file where id=1347723 limit 1 [ RunTime:0.003014s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT1025WI-25-G' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.007682s ]
SELECT `id` FROM `stock` WHERE `id` <> 49821892 AND `partno` = 'CAT1025WI-25-G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.001498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17076927 [ RunTime:0.000363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37014845 LIMIT 5 [ RunTime:0.001735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37014845 ORDER BY `minOrder` ASC [ RunTime:0.004650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37014845 ORDER BY `unit` DESC [ RunTime:0.000773s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37014845 LIMIT 2 [ RunTime:0.002755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37014845 ORDER BY `minOrder` ASC [ RunTime:0.001772s ]
select * from pdf where partno='CAT1025WI-25-G' and brandshort='onsemi' limit 1 [ RunTime:0.001075s ]
select foldpath,foldpath2,filename from pdf_file where id=1347723 limit 1 [ RunTime:0.000200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT1025WI-25-G' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.000626s ]
SELECT `id` FROM `stock` WHERE `id` <> 37014845 AND `partno` = 'CAT1025WI-25-G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.002293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17076927 [ RunTime:0.000232s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000779s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000578s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000556s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002166s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000571s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000577s ]
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 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000676s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CAT1025WI-25-G%' OR `brand` LIKE 'CAT1025WI-25-G%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002135s ]