SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001683s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049658s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10853801 LIMIT 5 [ RunTime:0.031012s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.032012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10853801 ORDER BY `minOrder` ASC [ RunTime:0.007332s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.014212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10853801 ORDER BY `unit` DESC [ RunTime:0.027471s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005028s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10853801 LIMIT 2 [ RunTime:0.004968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10853801 ORDER BY `minOrder` ASC [ RunTime:0.002025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10831712 LIMIT 5 [ RunTime:0.018612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10831712 ORDER BY `minOrder` ASC [ RunTime:0.022817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10831712 ORDER BY `unit` DESC [ RunTime:0.032593s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10831712 LIMIT 2 [ RunTime:0.077862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10831712 ORDER BY `minOrder` ASC [ RunTime:0.065436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12165459 LIMIT 5 [ RunTime:0.055059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12165459 ORDER BY `minOrder` ASC [ RunTime:0.027210s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12165459 ORDER BY `unit` DESC [ RunTime:0.017957s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12165459 LIMIT 2 [ RunTime:0.077126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12165459 ORDER BY `minOrder` ASC [ RunTime:0.000747s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18757180 LIMIT 5 [ RunTime:0.015697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18757180 ORDER BY `minOrder` ASC [ RunTime:0.091632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18757180 ORDER BY `unit` DESC [ RunTime:0.062148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18757180 LIMIT 2 [ RunTime:0.023400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18757180 ORDER BY `minOrder` ASC [ RunTime:0.000593s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18753612 LIMIT 5 [ RunTime:0.025689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18753612 ORDER BY `minOrder` ASC [ RunTime:0.054565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18753612 ORDER BY `unit` DESC [ RunTime:0.046679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18753612 LIMIT 2 [ RunTime:0.080457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18753612 ORDER BY `minOrder` ASC [ RunTime:0.063462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17007500 LIMIT 5 [ RunTime:0.042126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17007500 ORDER BY `minOrder` ASC [ RunTime:0.104346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17007500 ORDER BY `unit` DESC [ RunTime:0.028848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17007500 LIMIT 2 [ RunTime:0.026149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17007500 ORDER BY `minOrder` ASC [ RunTime:0.011991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17006210 LIMIT 5 [ RunTime:0.062466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17006210 ORDER BY `minOrder` ASC [ RunTime:0.019417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17006210 ORDER BY `unit` DESC [ RunTime:0.041051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17006210 LIMIT 2 [ RunTime:0.090359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17006210 ORDER BY `minOrder` ASC [ RunTime:0.003197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15218891 LIMIT 5 [ RunTime:0.035010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218891 ORDER BY `minOrder` ASC [ RunTime:0.033995s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15218891 ORDER BY `unit` DESC [ RunTime:0.072070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15218891 LIMIT 2 [ RunTime:0.146346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218891 ORDER BY `minOrder` ASC [ RunTime:0.018112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12262900 LIMIT 5 [ RunTime:0.081462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12262900 ORDER BY `minOrder` ASC [ RunTime:0.092498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12262900 ORDER BY `unit` DESC [ RunTime:0.060983s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12262900 LIMIT 2 [ RunTime:0.069798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12262900 ORDER BY `minOrder` ASC [ RunTime:0.013842s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10832024 LIMIT 5 [ RunTime:0.130605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10832024 ORDER BY `minOrder` ASC [ RunTime:0.086314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10832024 ORDER BY `unit` DESC [ RunTime:0.083815s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10832024 LIMIT 2 [ RunTime:0.064109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10832024 ORDER BY `minOrder` ASC [ RunTime:0.017485s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045469s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61146762 LIMIT 5 [ RunTime:0.022300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61146762 ORDER BY `minOrder` ASC [ RunTime:0.046848s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61146762 ORDER BY `unit` DESC [ RunTime:0.032752s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61146762 LIMIT 2 [ RunTime:0.024095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61146762 ORDER BY `minOrder` ASC [ RunTime:0.012587s ]
select * from pdf where partno='354131-E' and brandshort='TE Connectivity Erni' limit 1 [ RunTime:0.041322s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001610s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '354131-E' OR `brand` LIKE 'TE Connectivity Erni%' ) ) LIMIT 1 [ RunTime:0.077974s ]
SELECT `id` FROM `stock` WHERE `id` <> 61146762 AND `partno` = '354131-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity erni%' ) [ RunTime:0.035258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10853801 [ RunTime:0.030133s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61143618 LIMIT 5 [ RunTime:0.015529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61143618 ORDER BY `minOrder` ASC [ RunTime:0.035732s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61143618 ORDER BY `unit` DESC [ RunTime:0.017739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61143618 LIMIT 2 [ RunTime:0.024259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61143618 ORDER BY `minOrder` ASC [ RunTime:0.000685s ]
select * from pdf where partno='354130-E' and brandshort='TE Connectivity Erni' limit 1 [ RunTime:0.013559s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '354130-E' OR `brand` LIKE 'TE Connectivity Erni%' ) ) LIMIT 1 [ RunTime:0.034725s ]
SELECT `id` FROM `stock` WHERE `id` <> 61143618 AND `partno` = '354130-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity erni%' ) [ RunTime:0.003208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10831712 [ RunTime:0.015879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64287649 LIMIT 5 [ RunTime:0.034853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64287649 ORDER BY `minOrder` ASC [ RunTime:0.015916s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64287649 ORDER BY `unit` DESC [ RunTime:0.009394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64287649 LIMIT 2 [ RunTime:0.025312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64287649 ORDER BY `minOrder` ASC [ RunTime:0.004649s ]
select * from pdf where partno='35413' and brandshort='Master Appliance Co' limit 1 [ RunTime:0.018893s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '35413' OR `brand` LIKE 'Master Appliance Co%' ) ) LIMIT 1 [ RunTime:0.031840s ]
SELECT `id` FROM `stock` WHERE `id` <> 64287649 AND `partno` = '35413' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%master appliance co%' ) [ RunTime:0.028049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12262900 [ RunTime:0.066276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61190261 LIMIT 5 [ RunTime:0.076396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61190261 ORDER BY `minOrder` ASC [ RunTime:0.034470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61190261 ORDER BY `unit` DESC [ RunTime:0.040556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61190261 LIMIT 2 [ RunTime:0.086293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61190261 ORDER BY `minOrder` ASC [ RunTime:0.040702s ]
select * from pdf where partno='354132-E' and brandshort='TE Connectivity Erni' limit 1 [ RunTime:0.033885s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '354132-E' OR `brand` LIKE 'TE Connectivity Erni%' ) ) LIMIT 1 [ RunTime:0.023191s ]
SELECT `id` FROM `stock` WHERE `id` <> 61190261 AND `partno` = '354132-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity erni%' ) [ RunTime:0.020661s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10832024 [ RunTime:0.070466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58581991 LIMIT 5 [ RunTime:0.043044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58581991 ORDER BY `minOrder` ASC [ RunTime:0.039261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58581991 ORDER BY `unit` DESC [ RunTime:0.027506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58581991 LIMIT 2 [ RunTime:0.046430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58581991 ORDER BY `minOrder` ASC [ RunTime:0.051527s ]
select * from pdf where partno='35413' and brandshort='Wiha' limit 1 [ RunTime:0.036884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '35413' OR `brand` LIKE 'Wiha%' ) ) LIMIT 1 [ RunTime:0.063319s ]
SELECT `id` FROM `stock` WHERE `id` <> 58581991 AND `partno` = '35413' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%wiha%' ) [ RunTime:0.030563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12165459 [ RunTime:0.024050s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58559528 LIMIT 5 [ RunTime:0.020793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58559528 ORDER BY `minOrder` ASC [ RunTime:0.031290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58559528 ORDER BY `unit` DESC [ RunTime:0.016061s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58559528 LIMIT 2 [ RunTime:0.034667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58559528 ORDER BY `minOrder` ASC [ RunTime:0.005527s ]
select * from pdf where partno='35413B10' and brandshort='Dremel' limit 1 [ RunTime:0.008234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '35413B10' OR `brand` LIKE 'Dremel%' ) ) LIMIT 1 [ RunTime:0.059727s ]
SELECT `id` FROM `stock` WHERE `id` <> 58559528 AND `partno` = '35413B10' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dremel%' ) [ RunTime:0.016360s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055812s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032283s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030652s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038551s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046809s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048160s ]
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 '35413%' OR `brand` LIKE '35413%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064672s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '35413%' OR `brand` LIKE '35413%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.028020s ]