SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003185s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064386s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.167054s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036448s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.040331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51736846 LIMIT 5 [ RunTime:0.066426s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51736846 ORDER BY `minOrder` ASC [ RunTime:0.054961s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.015682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51736846 ORDER BY `unit` DESC [ RunTime:0.088320s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51736846 LIMIT 2 [ RunTime:0.193995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51736846 ORDER BY `minOrder` ASC [ RunTime:0.035738s ]
select * from pdf where partno='ZTX601' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.051002s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.058138s ]
SELECT `id` FROM `stock` WHERE `id` <> 51736846 AND `partno` = 'ZTX601' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.086559s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51736848 LIMIT 5 [ RunTime:0.023010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51736848 ORDER BY `minOrder` ASC [ RunTime:0.037883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51736848 ORDER BY `unit` DESC [ RunTime:0.067992s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51736848 LIMIT 2 [ RunTime:0.125053s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51736848 ORDER BY `minOrder` ASC [ RunTime:0.025579s ]
select * from pdf where partno='ZTX601BSTZ' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.182267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601BSTZ' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.072576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51736850 LIMIT 5 [ RunTime:0.025426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51736850 ORDER BY `minOrder` ASC [ RunTime:0.017925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51736850 ORDER BY `unit` DESC [ RunTime:0.088089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51736850 LIMIT 2 [ RunTime:0.129409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51736850 ORDER BY `minOrder` ASC [ RunTime:0.049861s ]
select * from pdf where partno='ZTX601B' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.042528s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601B' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.014801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51747558 LIMIT 5 [ RunTime:0.046780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51747558 ORDER BY `minOrder` ASC [ RunTime:0.051245s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51747558 ORDER BY `unit` DESC [ RunTime:0.050431s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51747558 LIMIT 2 [ RunTime:0.092252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51747558 ORDER BY `minOrder` ASC [ RunTime:0.046121s ]
select * from pdf where partno='ZTX601STZ' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.078480s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601STZ' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.025695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51747002 LIMIT 5 [ RunTime:0.051527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51747002 ORDER BY `minOrder` ASC [ RunTime:0.117924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51747002 ORDER BY `unit` DESC [ RunTime:0.051600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51747002 LIMIT 2 [ RunTime:0.077490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51747002 ORDER BY `minOrder` ASC [ RunTime:0.029283s ]
select * from pdf where partno='ZTX601STOA' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.043446s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601STOA' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.060909s ]
SELECT `id` FROM `stock` WHERE `id` <> 51747002 AND `partno` = 'ZTX601STOA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.058743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51747001 LIMIT 5 [ RunTime:0.074255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51747001 ORDER BY `minOrder` ASC [ RunTime:0.081234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51747001 ORDER BY `unit` DESC [ RunTime:0.052203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51747001 LIMIT 2 [ RunTime:0.026397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51747001 ORDER BY `minOrder` ASC [ RunTime:0.050224s ]
select * from pdf where partno='ZTX601A' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.034625s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601A' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.231402s ]
SELECT `id` FROM `stock` WHERE `id` <> 51747001 AND `partno` = 'ZTX601A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.171457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51746820 LIMIT 5 [ RunTime:0.116243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746820 ORDER BY `minOrder` ASC [ RunTime:0.117564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51746820 ORDER BY `unit` DESC [ RunTime:0.103450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51746820 LIMIT 2 [ RunTime:0.160005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746820 ORDER BY `minOrder` ASC [ RunTime:0.082744s ]
select * from pdf where partno='ZTX601STOB' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.086052s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601STOB' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.063170s ]
SELECT `id` FROM `stock` WHERE `id` <> 51746820 AND `partno` = 'ZTX601STOB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.066499s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51746819 LIMIT 5 [ RunTime:0.071542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746819 ORDER BY `minOrder` ASC [ RunTime:0.198035s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51746819 ORDER BY `unit` DESC [ RunTime:0.122239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51746819 LIMIT 2 [ RunTime:0.058176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746819 ORDER BY `minOrder` ASC [ RunTime:0.013113s ]
select * from pdf where partno='ZTX601ASTZ' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.135433s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601ASTZ' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.019563s ]
SELECT `id` FROM `stock` WHERE `id` <> 51746819 AND `partno` = 'ZTX601ASTZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.067257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51746818 LIMIT 5 [ RunTime:0.055696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746818 ORDER BY `minOrder` ASC [ RunTime:0.081972s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51746818 ORDER BY `unit` DESC [ RunTime:0.059129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51746818 LIMIT 2 [ RunTime:0.062678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746818 ORDER BY `minOrder` ASC [ RunTime:0.040678s ]
select * from pdf where partno='ZTX601ASTOB' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.028065s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601ASTOB' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.097402s ]
SELECT `id` FROM `stock` WHERE `id` <> 51746818 AND `partno` = 'ZTX601ASTOB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.134015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51746817 LIMIT 5 [ RunTime:0.048742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746817 ORDER BY `minOrder` ASC [ RunTime:0.012871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51746817 ORDER BY `unit` DESC [ RunTime:0.063287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51746817 LIMIT 2 [ RunTime:0.069830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51746817 ORDER BY `minOrder` ASC [ RunTime:0.027927s ]
select * from pdf where partno='ZTX601ASTOA' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.124756s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZTX601ASTOA' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.158882s ]
SELECT `id` FROM `stock` WHERE `id` <> 51746817 AND `partno` = 'ZTX601ASTOA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.199409s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.106194s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059525s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.073679s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025950s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070276s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087807s ]
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 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.086416s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ZTX601%' OR `brand` LIKE 'ZTX601%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.076291s ]