SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001576s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044881s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001699s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17640152 LIMIT 5 [ RunTime:0.015656s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.013309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17640152 ORDER BY `minOrder` ASC [ RunTime:0.060503s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17640152 ORDER BY `unit` DESC [ RunTime:0.077958s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007031s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17640152 LIMIT 2 [ RunTime:0.075850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17640152 ORDER BY `minOrder` ASC [ RunTime:0.060568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16748551 LIMIT 5 [ RunTime:0.136097s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16748551 ORDER BY `minOrder` ASC [ RunTime:0.133252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16748551 ORDER BY `unit` DESC [ RunTime:0.071876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16748551 LIMIT 2 [ RunTime:0.108060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16748551 ORDER BY `minOrder` ASC [ RunTime:0.072853s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15611864 LIMIT 5 [ RunTime:0.086209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15611864 ORDER BY `minOrder` ASC [ RunTime:0.148834s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15611864 ORDER BY `unit` DESC [ RunTime:0.077524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15611864 LIMIT 2 [ RunTime:0.023443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15611864 ORDER BY `minOrder` ASC [ RunTime:0.115665s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923029 LIMIT 5 [ RunTime:0.079753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923029 ORDER BY `minOrder` ASC [ RunTime:0.113008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923029 ORDER BY `unit` DESC [ RunTime:0.097634s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923029 LIMIT 2 [ RunTime:0.068265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923029 ORDER BY `minOrder` ASC [ RunTime:0.047971s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922918 LIMIT 5 [ RunTime:0.152477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922918 ORDER BY `minOrder` ASC [ RunTime:0.213737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14922918 ORDER BY `unit` DESC [ RunTime:0.002242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14922918 LIMIT 2 [ RunTime:0.081506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922918 ORDER BY `minOrder` ASC [ RunTime:0.000663s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.089725s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.130019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39371572 LIMIT 5 [ RunTime:0.108675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39371572 ORDER BY `minOrder` ASC [ RunTime:0.110569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39371572 ORDER BY `unit` DESC [ RunTime:0.094547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39371572 LIMIT 2 [ RunTime:0.165925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39371572 ORDER BY `minOrder` ASC [ RunTime:0.069328s ]
select * from pdf where partno='M39003/01-2290/98' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.042433s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2290/98' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.007997s ]
SELECT `id` FROM `stock` WHERE `id` <> 39371572 AND `partno` = 'M39003/01-2290/98' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.082650s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923029 [ RunTime:0.013109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39371036 LIMIT 5 [ RunTime:0.035916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39371036 ORDER BY `minOrder` ASC [ RunTime:0.077395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39371036 ORDER BY `unit` DESC [ RunTime:0.071840s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39371036 LIMIT 2 [ RunTime:0.013643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39371036 ORDER BY `minOrder` ASC [ RunTime:0.008122s ]
select * from pdf where partno='M39003/01-2290/HSD' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.007589s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2290/HSD' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.037131s ]
SELECT `id` FROM `stock` WHERE `id` <> 39371036 AND `partno` = 'M39003/01-2290/HSD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.006779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15611864 [ RunTime:0.010787s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39370592 LIMIT 5 [ RunTime:0.019826s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39370592 ORDER BY `minOrder` ASC [ RunTime:0.012776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39370592 ORDER BY `unit` DESC [ RunTime:0.014422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39370592 LIMIT 2 [ RunTime:0.008858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39370592 ORDER BY `minOrder` ASC [ RunTime:0.013062s ]
select * from pdf where partno='M39003/01-2290H' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.033810s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2290H' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.045864s ]
SELECT `id` FROM `stock` WHERE `id` <> 39370592 AND `partno` = 'M39003/01-2290H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.051482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17640152 [ RunTime:0.032835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39370591 LIMIT 5 [ RunTime:0.012818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39370591 ORDER BY `minOrder` ASC [ RunTime:0.025819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39370591 ORDER BY `unit` DESC [ RunTime:0.008102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39370591 LIMIT 2 [ RunTime:0.031947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39370591 ORDER BY `minOrder` ASC [ RunTime:0.003839s ]
select * from pdf where partno='M39003/01-2290' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.027155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2290' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.021870s ]
SELECT `id` FROM `stock` WHERE `id` <> 39370591 AND `partno` = 'M39003/01-2290' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.024462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922918 [ RunTime:0.023067s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39368261 LIMIT 5 [ RunTime:0.018358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39368261 ORDER BY `minOrder` ASC [ RunTime:0.035075s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39368261 ORDER BY `unit` DESC [ RunTime:0.028576s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39368261 LIMIT 2 [ RunTime:0.005441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39368261 ORDER BY `minOrder` ASC [ RunTime:0.018399s ]
select * from pdf where partno='M39003/01-2290/TR' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.010562s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2290/TR' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.007173s ]
SELECT `id` FROM `stock` WHERE `id` <> 39368261 AND `partno` = 'M39003/01-2290/TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.043909s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16748551 [ RunTime:0.028482s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027361s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046661s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035570s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013095s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021265s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022298s ]
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-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009909s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'M39003/01-2290%' OR `brand` LIKE 'M39003/01-2290%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.037223s ]