SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001470s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008394s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032413s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046285s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58611526 LIMIT 5 [ RunTime:0.027575s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58611526 ORDER BY `minOrder` ASC [ RunTime:0.011520s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58611526 ORDER BY `unit` DESC [ RunTime:0.002452s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001746s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58611526 LIMIT 2 [ RunTime:0.014638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58611526 ORDER BY `minOrder` ASC [ RunTime:0.012030s ]
select * from pdf where partno='MPSL51 TIN/LEAD' and brandshort='Central Semiconductor Corp' limit 1 [ RunTime:0.006012s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001697s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPSL51 TIN/LEAD' OR `brand` LIKE 'Central Semiconductor Corp%' ) ) LIMIT 1 [ RunTime:0.038137s ]
SELECT `id` FROM `stock` WHERE `id` <> 58611526 AND `partno` = 'MPSL51 TIN/LEAD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%central semiconductor corp%' ) [ RunTime:0.041956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58611435 LIMIT 5 [ RunTime:0.056522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58611435 ORDER BY `minOrder` ASC [ RunTime:0.071572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58611435 ORDER BY `unit` DESC [ RunTime:0.025998s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58611435 LIMIT 2 [ RunTime:0.020360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58611435 ORDER BY `minOrder` ASC [ RunTime:0.017092s ]
select * from pdf where partno='MPSL51 PBFREE' and brandshort='Central Semiconductor Corp' limit 1 [ RunTime:0.019061s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPSL51 PBFREE' OR `brand` LIKE 'Central Semiconductor Corp%' ) ) LIMIT 1 [ RunTime:0.022539s ]
SELECT `id` FROM `stock` WHERE `id` <> 58611435 AND `partno` = 'MPSL51 PBFREE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%central semiconductor corp%' ) [ RunTime:0.048935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58609113 LIMIT 5 [ RunTime:0.039310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58609113 ORDER BY `minOrder` ASC [ RunTime:0.083822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58609113 ORDER BY `unit` DESC [ RunTime:0.076312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58609113 LIMIT 2 [ RunTime:0.074797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58609113 ORDER BY `minOrder` ASC [ RunTime:0.061163s ]
select * from pdf where partno='MPSL51' and brandshort='onsemi' limit 1 [ RunTime:0.030526s ]
select foldpath,foldpath2,filename from pdf_file where id=403707 limit 1 [ RunTime:0.035420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPSL51' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.068515s ]
SELECT `id` FROM `stock` WHERE `id` <> 58609113 AND `partno` = 'MPSL51' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.009651s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58609112 LIMIT 5 [ RunTime:0.027897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58609112 ORDER BY `minOrder` ASC [ RunTime:0.045312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58609112 ORDER BY `unit` DESC [ RunTime:0.025343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58609112 LIMIT 2 [ RunTime:0.021222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58609112 ORDER BY `minOrder` ASC [ RunTime:0.013458s ]
select * from pdf where partno='MPSL51_D75Z' and brandshort='onsemi' limit 1 [ RunTime:0.034071s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPSL51_D75Z' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.028454s ]
SELECT `id` FROM `stock` WHERE `id` <> 58609112 AND `partno` = 'MPSL51_D75Z' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.047513s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58609111 LIMIT 5 [ RunTime:0.032710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58609111 ORDER BY `minOrder` ASC [ RunTime:0.008848s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58609111 ORDER BY `unit` DESC [ RunTime:0.011972s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58609111 LIMIT 2 [ RunTime:0.034051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58609111 ORDER BY `minOrder` ASC [ RunTime:0.010238s ]
select * from pdf where partno='MPSL51_D27Z' and brandshort='onsemi' limit 1 [ RunTime:0.017135s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPSL51_D27Z' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.044619s ]
SELECT `id` FROM `stock` WHERE `id` <> 58609111 AND `partno` = 'MPSL51_D27Z' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.039039s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033012s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053955s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055433s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033067s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042689s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026071s ]
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 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032541s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MPSL51%' OR `brand` LIKE 'MPSL51%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.056913s ]