SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001712s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009948s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007590s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17641230 LIMIT 5 [ RunTime:0.022216s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17641230 ORDER BY `minOrder` ASC [ RunTime:0.007159s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17641230 ORDER BY `unit` DESC [ RunTime:0.010135s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17641230 LIMIT 2 [ RunTime:0.010013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17641230 ORDER BY `minOrder` ASC [ RunTime:0.009444s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17638103 LIMIT 5 [ RunTime:0.028751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17638103 ORDER BY `minOrder` ASC [ RunTime:0.016802s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17638103 ORDER BY `unit` DESC [ RunTime:0.087744s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17638103 LIMIT 2 [ RunTime:0.065608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17638103 ORDER BY `minOrder` ASC [ RunTime:0.017753s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16748531 LIMIT 5 [ RunTime:0.019935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16748531 ORDER BY `minOrder` ASC [ RunTime:0.039448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16748531 ORDER BY `unit` DESC [ RunTime:0.035359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16748531 LIMIT 2 [ RunTime:0.016832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16748531 ORDER BY `minOrder` ASC [ RunTime:0.012894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16748170 LIMIT 5 [ RunTime:0.041691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16748170 ORDER BY `minOrder` ASC [ RunTime:0.060190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16748170 ORDER BY `unit` DESC [ RunTime:0.041886s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16748170 LIMIT 2 [ RunTime:0.055840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16748170 ORDER BY `minOrder` ASC [ RunTime:0.010167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15610731 LIMIT 5 [ RunTime:0.055703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15610731 ORDER BY `minOrder` ASC [ RunTime:0.022765s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15610731 ORDER BY `unit` DESC [ RunTime:0.015641s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15610731 LIMIT 2 [ RunTime:0.016854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15610731 ORDER BY `minOrder` ASC [ RunTime:0.012548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14924272 LIMIT 5 [ RunTime:0.066509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14924272 ORDER BY `minOrder` ASC [ RunTime:0.008472s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14924272 ORDER BY `unit` DESC [ RunTime:0.038014s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14924272 LIMIT 2 [ RunTime:0.040672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14924272 ORDER BY `minOrder` ASC [ RunTime:0.004698s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036272s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39380482 LIMIT 5 [ RunTime:0.013913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39380482 ORDER BY `minOrder` ASC [ RunTime:0.014129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39380482 ORDER BY `unit` DESC [ RunTime:0.009651s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39380482 LIMIT 2 [ RunTime:0.002403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39380482 ORDER BY `minOrder` ASC [ RunTime:0.003844s ]
select * from pdf where partno='M39003/01-2494' and brandshort='KEMET' limit 1 [ RunTime:0.013452s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2494' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.016354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39373134 LIMIT 5 [ RunTime:0.014092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39373134 ORDER BY `minOrder` ASC [ RunTime:0.011180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39373134 ORDER BY `unit` DESC [ RunTime:0.007072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39373134 LIMIT 2 [ RunTime:0.013152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39373134 ORDER BY `minOrder` ASC [ RunTime:0.006508s ]
select * from pdf where partno='M39003/01-2494/98' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.015203s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2494/98' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.021111s ]
SELECT `id` FROM `stock` WHERE `id` <> 39373134 AND `partno` = 'M39003/01-2494/98' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.003323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17641230 [ RunTime:0.011727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39366684 LIMIT 5 [ RunTime:0.016418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39366684 ORDER BY `minOrder` ASC [ RunTime:0.006281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39366684 ORDER BY `unit` DESC [ RunTime:0.004864s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39366684 LIMIT 2 [ RunTime:0.000653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39366684 ORDER BY `minOrder` ASC [ RunTime:0.009674s ]
select * from pdf where partno='M39003/01-2494/HSD' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.004324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2494/HSD' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.004323s ]
SELECT `id` FROM `stock` WHERE `id` <> 39366684 AND `partno` = 'M39003/01-2494/HSD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.005737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15610731 [ RunTime:0.007465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39366259 LIMIT 5 [ RunTime:0.000732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39366259 ORDER BY `minOrder` ASC [ RunTime:0.000525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39366259 ORDER BY `unit` DESC [ RunTime:0.000551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39366259 LIMIT 2 [ RunTime:0.000711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39366259 ORDER BY `minOrder` ASC [ RunTime:0.000475s ]
select * from pdf where partno='M39003/01-2494' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2494' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000533s ]
SELECT `id` FROM `stock` WHERE `id` <> 39366259 AND `partno` = 'M39003/01-2494' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16748531 [ RunTime:0.000460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39366252 LIMIT 5 [ RunTime:0.000627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39366252 ORDER BY `minOrder` ASC [ RunTime:0.005988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39366252 ORDER BY `unit` DESC [ RunTime:0.002242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39366252 LIMIT 2 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39366252 ORDER BY `minOrder` ASC [ RunTime:0.001399s ]
select * from pdf where partno='M39003/01-2494H' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000815s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2494H' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000856s ]
SELECT `id` FROM `stock` WHERE `id` <> 39366252 AND `partno` = 'M39003/01-2494H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.002041s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17638103 [ RunTime:0.000767s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39364414 LIMIT 5 [ RunTime:0.000596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39364414 ORDER BY `minOrder` ASC [ RunTime:0.002825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39364414 ORDER BY `unit` DESC [ RunTime:0.002769s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39364414 LIMIT 2 [ RunTime:0.007364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39364414 ORDER BY `minOrder` ASC [ RunTime:0.003519s ]
select * from pdf where partno='M39003/01-2494/TR' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.003101s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2494/TR' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000676s ]
SELECT `id` FROM `stock` WHERE `id` <> 39364414 AND `partno` = 'M39003/01-2494/TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.002346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16748170 [ RunTime:0.005820s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001372s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003054s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005079s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003289s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004445s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011631s ]
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-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028685s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'M39003/01-2494%' OR `brand` LIKE 'M39003/01-2494%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003676s ]