SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002529s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026388s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014475s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026255s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006949s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51735898 LIMIT 5 [ RunTime:0.015532s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51735898 ORDER BY `minOrder` ASC [ RunTime:0.037472s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51735898 ORDER BY `unit` DESC [ RunTime:0.022107s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51735898 LIMIT 2 [ RunTime:0.023351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51735898 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='BCX38C' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.012827s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003417s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCX38C' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.020396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51735918 LIMIT 5 [ RunTime:0.013490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51735918 ORDER BY `minOrder` ASC [ RunTime:0.019024s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51735918 ORDER BY `unit` DESC [ RunTime:0.038412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51735918 LIMIT 2 [ RunTime:0.011174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51735918 ORDER BY `minOrder` ASC [ RunTime:0.009134s ]
select * from pdf where partno='BCX38CSTZ' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.048873s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCX38CSTZ' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.019269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51746258 LIMIT 5 [ RunTime:0.008727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746258 ORDER BY `minOrder` ASC [ RunTime:0.020550s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51746258 ORDER BY `unit` DESC [ RunTime:0.054965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51746258 LIMIT 2 [ RunTime:0.041985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746258 ORDER BY `minOrder` ASC [ RunTime:0.016067s ]
select * from pdf where partno='BCX38C TIN/LEAD' and brandshort='Central Semiconductor Corp' limit 1 [ RunTime:0.041042s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCX38C TIN/LEAD' OR `brand` LIKE 'Central Semiconductor Corp%' ) ) LIMIT 1 [ RunTime:0.026058s ]
SELECT `id` FROM `stock` WHERE `id` <> 51746258 AND `partno` = 'BCX38C TIN/LEAD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%central semiconductor corp%' ) [ RunTime:0.025637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51746085 LIMIT 5 [ RunTime:0.010198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746085 ORDER BY `minOrder` ASC [ RunTime:0.026191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51746085 ORDER BY `unit` DESC [ RunTime:0.021948s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51746085 LIMIT 2 [ RunTime:0.012540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746085 ORDER BY `minOrder` ASC [ RunTime:0.002393s ]
select * from pdf where partno='BCX38C PBFREE' and brandshort='Central Semiconductor Corp' limit 1 [ RunTime:0.028587s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCX38C PBFREE' OR `brand` LIKE 'Central Semiconductor Corp%' ) ) LIMIT 1 [ RunTime:0.049757s ]
SELECT `id` FROM `stock` WHERE `id` <> 51746085 AND `partno` = 'BCX38C PBFREE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%central semiconductor corp%' ) [ RunTime:0.049910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51745739 LIMIT 5 [ RunTime:0.041493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51745739 ORDER BY `minOrder` ASC [ RunTime:0.025066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51745739 ORDER BY `unit` DESC [ RunTime:0.027938s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51745739 LIMIT 2 [ RunTime:0.010242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51745739 ORDER BY `minOrder` ASC [ RunTime:0.010787s ]
select * from pdf where partno='BCX38CSTOB' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.013547s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCX38CSTOB' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.009124s ]
SELECT `id` FROM `stock` WHERE `id` <> 51745739 AND `partno` = 'BCX38CSTOB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.016392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44708735 LIMIT 5 [ RunTime:0.003449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44708735 ORDER BY `minOrder` ASC [ RunTime:0.003630s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44708735 ORDER BY `unit` DESC [ RunTime:0.002637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44708735 LIMIT 2 [ RunTime:0.014081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44708735 ORDER BY `minOrder` ASC [ RunTime:0.000503s ]
select * from pdf where partno='BCX38CSTOA' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.004588s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCX38CSTOA' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.009920s ]
SELECT `id` FROM `stock` WHERE `id` <> 44708735 AND `partno` = 'BCX38CSTOA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.001685s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33195700 [ RunTime:0.000485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33195700 LIMIT 5 [ RunTime:0.000794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33195700 ORDER BY `minOrder` ASC [ RunTime:0.010734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33195700 ORDER BY `unit` DESC [ RunTime:0.000836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33195700 LIMIT 2 [ RunTime:0.011962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33195700 ORDER BY `minOrder` ASC [ RunTime:0.000568s ]
select * from pdf where partno='BCX38CSTOA' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.000519s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCX38CSTOA' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.000424s ]
SELECT `id` FROM `stock` WHERE `id` <> 33195700 AND `partno` = 'BCX38CSTOA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.000736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44708735 [ RunTime:0.002508s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000950s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021737s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009508s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006356s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015825s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026375s ]
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 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017993s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'BCX38C%' OR `brand` LIKE 'BCX38C%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015898s ]