SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001115s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002732s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001039s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17657537 LIMIT 5 [ RunTime:0.000573s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17657537 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000949s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17657537 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17657537 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17657537 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17657111 LIMIT 5 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17657111 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17657111 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17657111 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17657111 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17657017 LIMIT 5 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17657017 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17657017 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17657017 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17657017 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17652797 LIMIT 5 [ RunTime:0.000504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17652797 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17652797 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17652797 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17652797 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15620709 LIMIT 5 [ RunTime:0.000615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15620709 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15620709 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15620709 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15620709 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000917s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39420757 LIMIT 5 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39420757 ORDER BY `minOrder` ASC [ RunTime:0.000597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39420757 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39420757 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39420757 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='M39003/01-7224/98' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000618s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001111s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-7224/98' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000400s ]
SELECT `id` FROM `stock` WHERE `id` <> 39420757 AND `partno` = 'M39003/01-7224/98' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17657537 [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39419132 LIMIT 5 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39419132 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39419132 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39419132 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39419132 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='M39003/01-7224/HSD' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000499s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-7224/HSD' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000357s ]
SELECT `id` FROM `stock` WHERE `id` <> 39419132 AND `partno` = 'M39003/01-7224/HSD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17657111 [ RunTime:0.000293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39418867 LIMIT 5 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39418867 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39418867 ORDER BY `unit` DESC [ RunTime:0.000257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39418867 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39418867 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
select * from pdf where partno='M39003/01-7224H' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.001888s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-7224H' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000825s ]
SELECT `id` FROM `stock` WHERE `id` <> 39418867 AND `partno` = 'M39003/01-7224H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000734s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17657017 [ RunTime:0.000522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39418866 LIMIT 5 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39418866 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39418866 ORDER BY `unit` DESC [ RunTime:0.000472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39418866 LIMIT 2 [ RunTime:0.000440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39418866 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
select * from pdf where partno='M39003/01-7224' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000579s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-7224' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000648s ]
SELECT `id` FROM `stock` WHERE `id` <> 39418866 AND `partno` = 'M39003/01-7224' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15620709 [ RunTime:0.000496s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39410046 LIMIT 5 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39410046 ORDER BY `minOrder` ASC [ RunTime:0.001017s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39410046 ORDER BY `unit` DESC [ RunTime:0.000433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39410046 LIMIT 2 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39410046 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
select * from pdf where partno='M39003/01-7224/TR' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-7224/TR' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000641s ]
SELECT `id` FROM `stock` WHERE `id` <> 39410046 AND `partno` = 'M39003/01-7224/TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17652797 [ RunTime:0.000540s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001160s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000992s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000996s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000973s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000982s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000988s ]
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-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001047s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'M39003/01-7224%' OR `brand` LIKE 'M39003/01-7224%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001015s ]