SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001244s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021683s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20078303 LIMIT 5 [ RunTime:0.005479s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20078303 ORDER BY `minOrder` ASC [ RunTime:0.004234s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20078303 ORDER BY `unit` DESC [ RunTime:0.008879s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003199s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20078303 LIMIT 2 [ RunTime:0.013643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20078303 ORDER BY `minOrder` ASC [ RunTime:0.002779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16357580 LIMIT 5 [ RunTime:0.028605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16357580 ORDER BY `minOrder` ASC [ RunTime:0.039398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16357580 ORDER BY `unit` DESC [ RunTime:0.049317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16357580 LIMIT 2 [ RunTime:0.030060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16357580 ORDER BY `minOrder` ASC [ RunTime:0.012161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20079569 LIMIT 5 [ RunTime:0.026263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20079569 ORDER BY `minOrder` ASC [ RunTime:0.049880s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20079569 ORDER BY `unit` DESC [ RunTime:0.033566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20079569 LIMIT 2 [ RunTime:0.041571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20079569 ORDER BY `minOrder` ASC [ RunTime:0.045917s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17371930 LIMIT 5 [ RunTime:0.064376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17371930 ORDER BY `minOrder` ASC [ RunTime:0.085086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17371930 ORDER BY `unit` DESC [ RunTime:0.027670s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17371930 LIMIT 2 [ RunTime:0.062294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17371930 ORDER BY `minOrder` ASC [ RunTime:0.001823s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16358080 LIMIT 5 [ RunTime:0.043529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16358080 ORDER BY `minOrder` ASC [ RunTime:0.056127s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16358080 ORDER BY `unit` DESC [ RunTime:0.075626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16358080 LIMIT 2 [ RunTime:0.020179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16358080 ORDER BY `minOrder` ASC [ RunTime:0.062649s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16358079 LIMIT 5 [ RunTime:0.057013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16358079 ORDER BY `minOrder` ASC [ RunTime:0.034897s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16358079 ORDER BY `unit` DESC [ RunTime:0.015330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16358079 LIMIT 2 [ RunTime:0.004638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16358079 ORDER BY `minOrder` ASC [ RunTime:0.006422s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015149s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53786367 LIMIT 5 [ RunTime:0.017995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53786367 ORDER BY `minOrder` ASC [ RunTime:0.021691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53786367 ORDER BY `unit` DESC [ RunTime:0.018967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53786367 LIMIT 2 [ RunTime:0.007690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53786367 ORDER BY `minOrder` ASC [ RunTime:0.011688s ]
select * from pdf where partno='EHBNC2B' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.018085s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHBNC2B' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.012015s ]
SELECT `id` FROM `stock` WHERE `id` <> 53786367 AND `partno` = 'EHBNC2B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.030821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20078303 [ RunTime:0.003587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53786354 LIMIT 5 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53786354 ORDER BY `minOrder` ASC [ RunTime:0.002970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53786354 ORDER BY `unit` DESC [ RunTime:0.006978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53786354 LIMIT 2 [ RunTime:0.011112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53786354 ORDER BY `minOrder` ASC [ RunTime:0.004139s ]
select * from pdf where partno='EHBNC2' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.023952s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHBNC2' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.018432s ]
SELECT `id` FROM `stock` WHERE `id` <> 53786354 AND `partno` = 'EHBNC2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.015382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16357580 [ RunTime:0.007544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53789136 LIMIT 5 [ RunTime:0.014470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53789136 ORDER BY `minOrder` ASC [ RunTime:0.009837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53789136 ORDER BY `unit` DESC [ RunTime:0.007954s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53789136 LIMIT 2 [ RunTime:0.017002s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53789136 ORDER BY `minOrder` ASC [ RunTime:0.003774s ]
select * from pdf where partno='EHBNC2RPKG' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.001200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHBNC2RPKG' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.008545s ]
SELECT `id` FROM `stock` WHERE `id` <> 53789136 AND `partno` = 'EHBNC2RPKG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.037922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16358080 [ RunTime:0.000788s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53789131 LIMIT 5 [ RunTime:0.003265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53789131 ORDER BY `minOrder` ASC [ RunTime:0.001775s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53789131 ORDER BY `unit` DESC [ RunTime:0.002189s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53789131 LIMIT 2 [ RunTime:0.001398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53789131 ORDER BY `minOrder` ASC [ RunTime:0.006265s ]
select * from pdf where partno='EHBNC2RBPKG' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.001132s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHBNC2RBPKG' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.002963s ]
SELECT `id` FROM `stock` WHERE `id` <> 53789131 AND `partno` = 'EHBNC2RBPKG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.006307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16358079 [ RunTime:0.004910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53789065 LIMIT 5 [ RunTime:0.003758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53789065 ORDER BY `minOrder` ASC [ RunTime:0.009932s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53789065 ORDER BY `unit` DESC [ RunTime:0.000867s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53789065 LIMIT 2 [ RunTime:0.000616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53789065 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
select * from pdf where partno='EHBNC2BPKG' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.001066s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHBNC2BPKG' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.011975s ]
SELECT `id` FROM `stock` WHERE `id` <> 53789065 AND `partno` = 'EHBNC2BPKG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.010674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17371930 [ RunTime:0.001084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53789009 LIMIT 5 [ RunTime:0.002182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53789009 ORDER BY `minOrder` ASC [ RunTime:0.000706s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53789009 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53789009 LIMIT 2 [ RunTime:0.003319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53789009 ORDER BY `minOrder` ASC [ RunTime:0.001534s ]
select * from pdf where partno='EHBNC2PKG' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.000981s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHBNC2PKG' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.001359s ]
SELECT `id` FROM `stock` WHERE `id` <> 53789009 AND `partno` = 'EHBNC2PKG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.004382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20079569 [ RunTime:0.000681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53788994 LIMIT 5 [ RunTime:0.007367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53788994 ORDER BY `minOrder` ASC [ RunTime:0.002471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53788994 ORDER BY `unit` DESC [ RunTime:0.004213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53788994 LIMIT 2 [ RunTime:0.003936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53788994 ORDER BY `minOrder` ASC [ RunTime:0.005788s ]
select * from pdf where partno='EHBNC2RB' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.006645s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHBNC2RB' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.011650s ]
SELECT `id` FROM `stock` WHERE `id` <> 53788994 AND `partno` = 'EHBNC2RB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.013119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53788988 LIMIT 5 [ RunTime:0.003323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53788988 ORDER BY `minOrder` ASC [ RunTime:0.003118s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53788988 ORDER BY `unit` DESC [ RunTime:0.003862s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53788988 LIMIT 2 [ RunTime:0.006883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53788988 ORDER BY `minOrder` ASC [ RunTime:0.000531s ]
select * from pdf where partno='EHBNC2R' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.003726s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EHBNC2R' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.000795s ]
SELECT `id` FROM `stock` WHERE `id` <> 53788988 AND `partno` = 'EHBNC2R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.000867s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015756s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006406s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008178s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001711s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009833s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006128s ]
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 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014112s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'EHBNC2%' OR `brand` LIKE 'EHBNC2%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006733s ]