SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001558s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001936s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14257737 LIMIT 5 [ RunTime:0.001200s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14257737 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001696s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14257737 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14257737 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14257737 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='12037' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.001141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16403235 LIMIT 5 [ RunTime:0.001141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16403235 ORDER BY `minOrder` ASC [ RunTime:0.000713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16403235 ORDER BY `unit` DESC [ RunTime:0.000587s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16403235 LIMIT 2 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16403235 ORDER BY `minOrder` ASC [ RunTime:0.000611s ]
select * from pdf where partno='1203780000' and brandshort='Weidmüller' limit 1 [ RunTime:0.000859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12415864 LIMIT 5 [ RunTime:0.002813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12415864 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12415864 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12415864 LIMIT 2 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12415864 ORDER BY `minOrder` ASC [ RunTime:0.000590s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12263103 LIMIT 5 [ RunTime:0.000882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12263103 ORDER BY `minOrder` ASC [ RunTime:0.000652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12263103 ORDER BY `unit` DESC [ RunTime:0.000575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12263103 LIMIT 2 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12263103 ORDER BY `minOrder` ASC [ RunTime:0.000588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11251579 LIMIT 5 [ RunTime:0.001972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11251579 ORDER BY `minOrder` ASC [ RunTime:0.000627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11251579 ORDER BY `unit` DESC [ RunTime:0.000601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11251579 LIMIT 2 [ RunTime:0.000575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11251579 ORDER BY `minOrder` ASC [ RunTime:0.000594s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001416s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71192899 LIMIT 5 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71192899 ORDER BY `minOrder` ASC [ RunTime:0.001266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71192899 ORDER BY `unit` DESC [ RunTime:0.000573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71192899 LIMIT 2 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71192899 ORDER BY `minOrder` ASC [ RunTime:0.000636s ]
select * from pdf where partno='12037' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.000929s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12037' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.001958s ]
SELECT `id` FROM `stock` WHERE `id` <> 71192899 AND `partno` = '12037' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.000860s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14257737 [ RunTime:0.000655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70192287 LIMIT 5 [ RunTime:0.000643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70192287 ORDER BY `minOrder` ASC [ RunTime:0.004280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70192287 ORDER BY `unit` DESC [ RunTime:0.000626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70192287 LIMIT 2 [ RunTime:0.000617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70192287 ORDER BY `minOrder` ASC [ RunTime:0.000648s ]
select * from pdf where partno='12037' and brandshort='80/20, LLC' limit 1 [ RunTime:0.000915s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12037' OR `brand` LIKE '80/20, LLC%' ) ) LIMIT 1 [ RunTime:0.000770s ]
SELECT `id` FROM `stock` WHERE `id` <> 70192287 AND `partno` = '12037' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%80/20, llc%' ) [ RunTime:0.000805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69858466 LIMIT 5 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69858466 ORDER BY `minOrder` ASC [ RunTime:0.008486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69858466 ORDER BY `unit` DESC [ RunTime:0.000639s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69858466 LIMIT 2 [ RunTime:0.000583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69858466 ORDER BY `minOrder` ASC [ RunTime:0.000652s ]
select * from pdf where partno='1203780000' and brandshort='Weidmüller' limit 1 [ RunTime:0.001009s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1203780000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.001454s ]
SELECT `id` FROM `stock` WHERE `id` <> 69858466 AND `partno` = '1203780000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.000829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16403235 [ RunTime:0.000633s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43840399 LIMIT 5 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43840399 ORDER BY `minOrder` ASC [ RunTime:0.001115s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43840399 ORDER BY `unit` DESC [ RunTime:0.000615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43840399 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43840399 ORDER BY `minOrder` ASC [ RunTime:0.000634s ]
select * from pdf where partno='12037A2UU' and brandshort='APEM Inc.' limit 1 [ RunTime:0.000855s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12037A2UU' OR `brand` LIKE 'APEM Inc.%' ) ) LIMIT 1 [ RunTime:0.000749s ]
SELECT `id` FROM `stock` WHERE `id` <> 43840399 AND `partno` = '12037A2UU' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%apem inc.%' ) [ RunTime:0.000799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12415864 [ RunTime:0.000687s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001283s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001210s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001169s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001152s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001161s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001119s ]
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 '12037%' OR `brand` LIKE '12037%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001236s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '12037%' OR `brand` LIKE '12037%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001091s ]