SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001442s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022954s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17100554 LIMIT 5 [ RunTime:0.029185s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17100554 ORDER BY `minOrder` ASC [ RunTime:0.012537s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.010263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17100554 ORDER BY `unit` DESC [ RunTime:0.019564s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002604s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17100554 LIMIT 2 [ RunTime:0.018367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17100554 ORDER BY `minOrder` ASC [ RunTime:0.005985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9659 LIMIT 5 [ RunTime:0.027893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9659 ORDER BY `minOrder` ASC [ RunTime:0.066910s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9659 ORDER BY `unit` DESC [ RunTime:0.073108s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9659 LIMIT 2 [ RunTime:0.086837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9659 ORDER BY `minOrder` ASC [ RunTime:0.000490s ]
select * from pdf where partno='MC14016BDR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.052270s ]
select foldpath,foldpath2,filename from pdf_file where id=647906 limit 1 [ RunTime:0.132242s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002728s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC14016BDR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.067226s ]
SELECT `id` FROM `stock` WHERE `id` <> 9659 AND `partno` = 'MC14016BDR2G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.114355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17100554 [ RunTime:0.120936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14230975 LIMIT 5 [ RunTime:0.060971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14230975 ORDER BY `minOrder` ASC [ RunTime:0.056274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14230975 ORDER BY `unit` DESC [ RunTime:0.041305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14230975 LIMIT 2 [ RunTime:0.158991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14230975 ORDER BY `minOrder` ASC [ RunTime:0.026824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19161384 LIMIT 5 [ RunTime:0.044229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19161384 ORDER BY `minOrder` ASC [ RunTime:0.106822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19161384 ORDER BY `unit` DESC [ RunTime:0.037345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19161384 LIMIT 2 [ RunTime:0.002841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19161384 ORDER BY `minOrder` ASC [ RunTime:0.036239s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.129897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51043275 LIMIT 5 [ RunTime:0.162562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51043275 ORDER BY `minOrder` ASC [ RunTime:0.180242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51043275 ORDER BY `unit` DESC [ RunTime:0.063661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51043275 LIMIT 2 [ RunTime:0.023539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51043275 ORDER BY `minOrder` ASC [ RunTime:0.020970s ]
select * from pdf where partno='mc14016bdg' and brandshort='onsemi' limit 1 [ RunTime:0.018276s ]
select foldpath,foldpath2,filename from pdf_file where id=647906 limit 1 [ RunTime:0.031529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'mc14016bdg' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.074715s ]
SELECT `id` FROM `stock` WHERE `id` <> 51043275 AND `partno` = 'mc14016bdg' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.049714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14230975 [ RunTime:0.036612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51043401 LIMIT 5 [ RunTime:0.046530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51043401 ORDER BY `minOrder` ASC [ RunTime:0.102852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51043401 ORDER BY `unit` DESC [ RunTime:0.075366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51043401 LIMIT 2 [ RunTime:0.133601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51043401 ORDER BY `minOrder` ASC [ RunTime:0.054378s ]
select * from pdf where partno='mc14016bdr2g' and brandshort='onsemi' limit 1 [ RunTime:0.043026s ]
select foldpath,foldpath2,filename from pdf_file where id=647906 limit 1 [ RunTime:0.059472s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'mc14016bdr2g' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.106639s ]
SELECT `id` FROM `stock` WHERE `id` <> 51043401 AND `partno` = 'mc14016bdr2g' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.133424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9659 [ RunTime:0.072426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17100554 [ RunTime:0.092222s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.134004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63924304 LIMIT 5 [ RunTime:0.063312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63924304 ORDER BY `minOrder` ASC [ RunTime:0.060677s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63924304 ORDER BY `unit` DESC [ RunTime:0.087168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63924304 LIMIT 2 [ RunTime:0.045289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63924304 ORDER BY `minOrder` ASC [ RunTime:0.055625s ]
select * from pdf where partno='MC14016BDR2G' and brandshort='onsemi' limit 1 [ RunTime:0.064104s ]
select foldpath,foldpath2,filename from pdf_file where id=647906 limit 1 [ RunTime:0.057932s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC14016BDR2G' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.078160s ]
SELECT `id` FROM `stock` WHERE `id` <> 63924304 AND `partno` = 'MC14016BDR2G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.038692s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9659 [ RunTime:0.052822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17100554 [ RunTime:0.066726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63926831 LIMIT 5 [ RunTime:0.061273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63926831 ORDER BY `minOrder` ASC [ RunTime:0.127239s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63926831 ORDER BY `unit` DESC [ RunTime:0.155451s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63926831 LIMIT 2 [ RunTime:0.100475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63926831 ORDER BY `minOrder` ASC [ RunTime:0.037361s ]
select * from pdf where partno='MC14016BDG' and brandshort='onsemi' limit 1 [ RunTime:0.080681s ]
select foldpath,foldpath2,filename from pdf_file where id=647906 limit 1 [ RunTime:0.024573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC14016BDG' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.151318s ]
SELECT `id` FROM `stock` WHERE `id` <> 63926831 AND `partno` = 'MC14016BDG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.116302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14230975 [ RunTime:0.146237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63927715 LIMIT 5 [ RunTime:0.044096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63927715 ORDER BY `minOrder` ASC [ RunTime:0.147981s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63927715 ORDER BY `unit` DESC [ RunTime:0.067472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63927715 LIMIT 2 [ RunTime:0.156109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63927715 ORDER BY `minOrder` ASC [ RunTime:0.048882s ]
select * from pdf where partno='MC14016BD' and brandshort='onsemi' limit 1 [ RunTime:0.042898s ]
select foldpath,foldpath2,filename from pdf_file where id=647906 limit 1 [ RunTime:0.003692s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC14016BD' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.079790s ]
SELECT `id` FROM `stock` WHERE `id` <> 63927715 AND `partno` = 'MC14016BD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.097977s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19161384 [ RunTime:0.078063s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.097965s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.075862s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.074853s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020564s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061572s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.110729s ]
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 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063354s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MC14016BD%' OR `brand` LIKE 'MC14016BD%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.057494s ]