SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002468s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003833s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12687579 LIMIT 5 [ RunTime:0.000623s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12687579 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12687579 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000853s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12687579 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12687579 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='SFMC-140-L1-S-D' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12649543 LIMIT 5 [ RunTime:0.001102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12649543 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12649543 ORDER BY `unit` DESC [ RunTime:0.000403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12649543 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12649543 ORDER BY `minOrder` ASC [ RunTime:0.000487s ]
select * from pdf where partno='SFMC-140-L1-S-D-K' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12639969 LIMIT 5 [ RunTime:0.001182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12639969 ORDER BY `minOrder` ASC [ RunTime:0.000518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12639969 ORDER BY `unit` DESC [ RunTime:0.000466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12639969 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12639969 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
select * from pdf where partno='SFMC-140-L1-S-D-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000366s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001338s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66682521 LIMIT 5 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66682521 ORDER BY `minOrder` ASC [ RunTime:0.000937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66682521 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66682521 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66682521 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
select * from pdf where partno='SFMC-140-L1-S-D-K' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000487s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002205s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFMC-140-L1-S-D-K' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000987s ]
SELECT `id` FROM `stock` WHERE `id` <> 66682521 AND `partno` = 'SFMC-140-L1-S-D-K' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12649543 [ RunTime:0.000663s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66676190 LIMIT 5 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66676190 ORDER BY `minOrder` ASC [ RunTime:0.000988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66676190 ORDER BY `unit` DESC [ RunTime:0.000517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66676190 LIMIT 2 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66676190 ORDER BY `minOrder` ASC [ RunTime:0.000534s ]
select * from pdf where partno='SFMC-140-L1-S-D-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFMC-140-L1-S-D-P-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000683s ]
SELECT `id` FROM `stock` WHERE `id` <> 66676190 AND `partno` = 'SFMC-140-L1-S-D-P-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12639969 [ RunTime:0.000609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66562727 LIMIT 5 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66562727 ORDER BY `minOrder` ASC [ RunTime:0.001083s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66562727 ORDER BY `unit` DESC [ RunTime:0.000471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66562727 LIMIT 2 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66562727 ORDER BY `minOrder` ASC [ RunTime:0.000548s ]
select * from pdf where partno='SFMC-140-L1-S-D' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000501s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFMC-140-L1-S-D' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000599s ]
SELECT `id` FROM `stock` WHERE `id` <> 66562727 AND `partno` = 'SFMC-140-L1-S-D' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12687579 [ RunTime:0.000523s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000965s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000873s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000876s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000880s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000974s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000876s ]
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 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000990s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SFMC-140-L1-S-D%' OR `brand` LIKE 'SFMC-140-L1-S-D%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000923s ]