SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002119s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002891s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15622360 LIMIT 5 [ RunTime:0.000853s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15622360 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15622360 ORDER BY `unit` DESC [ RunTime:0.000520s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15622360 LIMIT 2 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15622360 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15622189 LIMIT 5 [ RunTime:0.000716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15622189 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15622189 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15622189 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15622189 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15620826 LIMIT 5 [ RunTime:0.000726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15620826 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15620826 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15620826 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15620826 ORDER BY `minOrder` ASC [ RunTime:0.000455s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14927745 LIMIT 5 [ RunTime:0.000866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927745 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14927745 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14927745 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927745 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14927744 LIMIT 5 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927744 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14927744 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14927744 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927744 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001209s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39431831 LIMIT 5 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39431831 ORDER BY `minOrder` ASC [ RunTime:0.003081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39431831 ORDER BY `unit` DESC [ RunTime:0.000419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39431831 LIMIT 2 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39431831 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='M39003/01-6116/98' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.001808s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.005308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-6116/98' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000746s ]
SELECT `id` FROM `stock` WHERE `id` <> 39431831 AND `partno` = 'M39003/01-6116/98' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15622360 [ RunTime:0.000365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39430187 LIMIT 5 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39430187 ORDER BY `minOrder` ASC [ RunTime:0.000835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39430187 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39430187 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39430187 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
select * from pdf where partno='M39003/01-6116/HSD' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000597s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-6116/HSD' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000491s ]
SELECT `id` FROM `stock` WHERE `id` <> 39430187 AND `partno` = 'M39003/01-6116/HSD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15622189 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39430002 LIMIT 5 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39430002 ORDER BY `minOrder` ASC [ RunTime:0.000737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39430002 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39430002 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39430002 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
select * from pdf where partno='M39003/01-6116H' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000802s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-6116H' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000525s ]
SELECT `id` FROM `stock` WHERE `id` <> 39430002 AND `partno` = 'M39003/01-6116H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000506s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14927745 [ RunTime:0.000419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39430001 LIMIT 5 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39430001 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39430001 ORDER BY `unit` DESC [ RunTime:0.000308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39430001 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39430001 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='M39003/01-6116' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000530s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-6116' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000593s ]
SELECT `id` FROM `stock` WHERE `id` <> 39430001 AND `partno` = 'M39003/01-6116' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14927744 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39424764 LIMIT 5 [ RunTime:0.000433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39424764 ORDER BY `minOrder` ASC [ RunTime:0.000821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39424764 ORDER BY `unit` DESC [ RunTime:0.000321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39424764 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39424764 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='M39003/01-6116/TR' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000605s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-6116/TR' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000396s ]
SELECT `id` FROM `stock` WHERE `id` <> 39424764 AND `partno` = 'M39003/01-6116/TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15620826 [ RunTime:0.000424s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001070s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000797s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000745s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000712s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000755s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000733s ]
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 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000868s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'M39003/01-6116%' OR `brand` LIKE 'M39003/01-6116%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000885s ]