SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003640s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028322s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009912s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11336925 LIMIT 5 [ RunTime:0.040421s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11336925 ORDER BY `minOrder` ASC [ RunTime:0.020652s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.013017s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11336925 ORDER BY `unit` DESC [ RunTime:0.023273s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006078s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11336925 LIMIT 2 [ RunTime:0.013673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11336925 ORDER BY `minOrder` ASC [ RunTime:0.010220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19280975 LIMIT 5 [ RunTime:0.027277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19280975 ORDER BY `minOrder` ASC [ RunTime:0.023776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19280975 ORDER BY `unit` DESC [ RunTime:0.015135s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19280975 LIMIT 2 [ RunTime:0.053709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19280975 ORDER BY `minOrder` ASC [ RunTime:0.033545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15450303 LIMIT 5 [ RunTime:0.009153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15450303 ORDER BY `minOrder` ASC [ RunTime:0.015859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15450303 ORDER BY `unit` DESC [ RunTime:0.034241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15450303 LIMIT 2 [ RunTime:0.027805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15450303 ORDER BY `minOrder` ASC [ RunTime:0.030195s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019899s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023765s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37435159 LIMIT 5 [ RunTime:0.038036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37435159 ORDER BY `minOrder` ASC [ RunTime:0.013744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37435159 ORDER BY `unit` DESC [ RunTime:0.034279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37435159 LIMIT 2 [ RunTime:0.011725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37435159 ORDER BY `minOrder` ASC [ RunTime:0.036660s ]
select * from pdf where partno='13819' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.007486s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002206s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13819' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.030427s ]
SELECT `id` FROM `stock` WHERE `id` <> 37435159 AND `partno` = '13819' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.011408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11336925 [ RunTime:0.011326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50240378 LIMIT 5 [ RunTime:0.006860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50240378 ORDER BY `minOrder` ASC [ RunTime:0.002993s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50240378 ORDER BY `unit` DESC [ RunTime:0.002172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50240378 LIMIT 2 [ RunTime:0.003831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50240378 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
select * from pdf where partno='13819' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.000436s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13819' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.000355s ]
SELECT `id` FROM `stock` WHERE `id` <> 50240378 AND `partno` = '13819' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.000704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11336925 [ RunTime:0.000662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43760815 LIMIT 5 [ RunTime:0.000832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43760815 ORDER BY `minOrder` ASC [ RunTime:0.013108s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43760815 ORDER BY `unit` DESC [ RunTime:0.015589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43760815 LIMIT 2 [ RunTime:0.002071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43760815 ORDER BY `minOrder` ASC [ RunTime:0.007182s ]
select * from pdf where partno='1381900000' and brandshort='Weidmüller' limit 1 [ RunTime:0.007193s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1381900000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.015447s ]
SELECT `id` FROM `stock` WHERE `id` <> 43760815 AND `partno` = '1381900000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.003616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19280975 [ RunTime:0.007667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53721156 LIMIT 5 [ RunTime:0.018471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53721156 ORDER BY `minOrder` ASC [ RunTime:0.005894s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53721156 ORDER BY `unit` DESC [ RunTime:0.009865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53721156 LIMIT 2 [ RunTime:0.005855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53721156 ORDER BY `minOrder` ASC [ RunTime:0.003466s ]
select * from pdf where partno='13819.1' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.000765s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13819.1' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.003338s ]
SELECT `id` FROM `stock` WHERE `id` <> 53721156 AND `partno` = '13819.1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.005985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15450303 [ RunTime:0.000769s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32563686 LIMIT 5 [ RunTime:0.006399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32563686 ORDER BY `minOrder` ASC [ RunTime:0.008361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32563686 ORDER BY `unit` DESC [ RunTime:0.000813s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32563686 LIMIT 2 [ RunTime:0.001016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32563686 ORDER BY `minOrder` ASC [ RunTime:0.006215s ]
select * from pdf where partno='13819001' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.004914s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13819001' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.013073s ]
SELECT `id` FROM `stock` WHERE `id` <> 32563686 AND `partno` = '13819001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.007006s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006316s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013366s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013764s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041250s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006592s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006036s ]
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 '13819%' OR `brand` LIKE '13819%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016628s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13819%' OR `brand` LIKE '13819%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.018011s ]