SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001515s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002638s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17643640 LIMIT 5 [ RunTime:0.000472s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17643640 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001096s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17643640 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002201s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17643640 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17643640 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16749994 LIMIT 5 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16749994 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16749994 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16749994 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16749994 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923952 LIMIT 5 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923952 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923952 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923952 LIMIT 2 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923952 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923951 LIMIT 5 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923951 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923951 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923951 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923951 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923505 LIMIT 5 [ RunTime:0.001978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923505 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923505 ORDER BY `unit` DESC [ RunTime:0.000298s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923505 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923505 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000871s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39382287 LIMIT 5 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39382287 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39382287 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39382287 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39382287 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
select * from pdf where partno='M39003/01-5685A' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000751s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002203s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-5685A' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000783s ]
SELECT `id` FROM `stock` WHERE `id` <> 39382287 AND `partno` = 'M39003/01-5685A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16749994 [ RunTime:0.000734s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39379187 LIMIT 5 [ RunTime:0.000644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39379187 ORDER BY `minOrder` ASC [ RunTime:0.000713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39379187 ORDER BY `unit` DESC [ RunTime:0.000628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39379187 LIMIT 2 [ RunTime:0.000662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39379187 ORDER BY `minOrder` ASC [ RunTime:0.000675s ]
select * from pdf where partno='M39003/01-5685/HSD' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000608s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-5685/HSD' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000770s ]
SELECT `id` FROM `stock` WHERE `id` <> 39379187 AND `partno` = 'M39003/01-5685/HSD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000876s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17643640 [ RunTime:0.000691s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39378789 LIMIT 5 [ RunTime:0.000626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39378789 ORDER BY `minOrder` ASC [ RunTime:0.000707s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39378789 ORDER BY `unit` DESC [ RunTime:0.000739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39378789 LIMIT 2 [ RunTime:0.000637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39378789 ORDER BY `minOrder` ASC [ RunTime:0.000738s ]
select * from pdf where partno='M39003/01-5685H' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000600s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-5685H' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000792s ]
SELECT `id` FROM `stock` WHERE `id` <> 39378789 AND `partno` = 'M39003/01-5685H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923952 [ RunTime:0.000682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39378788 LIMIT 5 [ RunTime:0.000624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39378788 ORDER BY `minOrder` ASC [ RunTime:0.000717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39378788 ORDER BY `unit` DESC [ RunTime:0.000635s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39378788 LIMIT 2 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39378788 ORDER BY `minOrder` ASC [ RunTime:0.000655s ]
select * from pdf where partno='M39003/01-5685' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-5685' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000762s ]
SELECT `id` FROM `stock` WHERE `id` <> 39378788 AND `partno` = 'M39003/01-5685' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923951 [ RunTime:0.000707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39376402 LIMIT 5 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39376402 ORDER BY `minOrder` ASC [ RunTime:0.003377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39376402 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39376402 LIMIT 2 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39376402 ORDER BY `minOrder` ASC [ RunTime:0.000568s ]
select * from pdf where partno='M39003/01-5685/TR' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.000768s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-5685/TR' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.000754s ]
SELECT `id` FROM `stock` WHERE `id` <> 39376402 AND `partno` = 'M39003/01-5685/TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.000839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923505 [ RunTime:0.000672s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001379s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001155s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001258s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001137s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '8' 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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001223s ]
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-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001241s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'M39003/01-5685%' OR `brand` LIKE 'M39003/01-5685%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001079s ]