SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002290s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016121s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19197471 LIMIT 5 [ RunTime:0.008145s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19197471 ORDER BY `minOrder` ASC [ RunTime:0.029850s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19197471 ORDER BY `unit` DESC [ RunTime:0.020940s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19197471 LIMIT 2 [ RunTime:0.021285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19197471 ORDER BY `minOrder` ASC [ RunTime:0.011526s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16101005 LIMIT 5 [ RunTime:0.012504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16101005 ORDER BY `minOrder` ASC [ RunTime:0.009008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16101005 ORDER BY `unit` DESC [ RunTime:0.009564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16101005 LIMIT 2 [ RunTime:0.006891s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16101005 ORDER BY `minOrder` ASC [ RunTime:0.013108s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017027s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50098933 LIMIT 5 [ RunTime:0.003957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50098933 ORDER BY `minOrder` ASC [ RunTime:0.001185s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50098933 ORDER BY `unit` DESC [ RunTime:0.000458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50098933 LIMIT 2 [ RunTime:0.000586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50098933 ORDER BY `minOrder` ASC [ RunTime:0.009152s ]
select * from pdf where partno='PI3C3306LE' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.008902s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI3C3306LE' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.000308s ]
SELECT `id` FROM `stock` WHERE `id` <> 50098933 AND `partno` = 'PI3C3306LE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.003077s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16101005 [ RunTime:0.002343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50098250 LIMIT 5 [ RunTime:0.009761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50098250 ORDER BY `minOrder` ASC [ RunTime:0.020391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50098250 ORDER BY `unit` DESC [ RunTime:0.008644s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50098250 LIMIT 2 [ RunTime:0.002023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50098250 ORDER BY `minOrder` ASC [ RunTime:0.000477s ]
select * from pdf where partno='PI3C3306LEX' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.002795s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI3C3306LEX' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.000452s ]
SELECT `id` FROM `stock` WHERE `id` <> 50098250 AND `partno` = 'PI3C3306LEX' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.001061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19197471 [ RunTime:0.007150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37296070 LIMIT 5 [ RunTime:0.004906s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37296070 ORDER BY `minOrder` ASC [ RunTime:0.023831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37296070 ORDER BY `unit` DESC [ RunTime:0.010447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37296070 LIMIT 2 [ RunTime:0.000657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37296070 ORDER BY `minOrder` ASC [ RunTime:0.013745s ]
select * from pdf where partno='PI3C3306LE' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.002632s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI3C3306LE' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.001261s ]
SELECT `id` FROM `stock` WHERE `id` <> 37296070 AND `partno` = 'PI3C3306LE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.021619s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16101005 [ RunTime:0.010919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37295383 LIMIT 5 [ RunTime:0.002874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37295383 ORDER BY `minOrder` ASC [ RunTime:0.009462s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37295383 ORDER BY `unit` DESC [ RunTime:0.002584s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37295383 LIMIT 2 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37295383 ORDER BY `minOrder` ASC [ RunTime:0.005709s ]
select * from pdf where partno='PI3C3306LEX' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.000826s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI3C3306LEX' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.000441s ]
SELECT `id` FROM `stock` WHERE `id` <> 37295383 AND `partno` = 'PI3C3306LEX' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.001086s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19197471 [ RunTime:0.000421s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002111s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004576s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011710s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001871s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007706s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003959s ]
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 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010991s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PI3C3306LE%' OR `brand` LIKE 'PI3C3306LE%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003628s ]