SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001517s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046836s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12266556 LIMIT 5 [ RunTime:0.048426s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.011764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12266556 ORDER BY `minOrder` ASC [ RunTime:0.073896s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12266556 ORDER BY `unit` DESC [ RunTime:0.019842s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12266556 LIMIT 2 [ RunTime:0.044848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12266556 ORDER BY `minOrder` ASC [ RunTime:0.012209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12266571 LIMIT 5 [ RunTime:0.027741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12266571 ORDER BY `minOrder` ASC [ RunTime:0.005883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12266571 ORDER BY `unit` DESC [ RunTime:0.015752s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12266571 LIMIT 2 [ RunTime:0.067378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12266571 ORDER BY `minOrder` ASC [ RunTime:0.005359s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11256750 LIMIT 5 [ RunTime:0.020366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11256750 ORDER BY `minOrder` ASC [ RunTime:0.050599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11256750 ORDER BY `unit` DESC [ RunTime:0.046205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11256750 LIMIT 2 [ RunTime:0.071410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11256750 ORDER BY `minOrder` ASC [ RunTime:0.039023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11253993 LIMIT 5 [ RunTime:0.038237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11253993 ORDER BY `minOrder` ASC [ RunTime:0.055974s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11253993 ORDER BY `unit` DESC [ RunTime:0.048725s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11253993 LIMIT 2 [ RunTime:0.052650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11253993 ORDER BY `minOrder` ASC [ RunTime:0.031707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12266590 LIMIT 5 [ RunTime:0.031873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12266590 ORDER BY `minOrder` ASC [ RunTime:0.032566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12266590 ORDER BY `unit` DESC [ RunTime:0.057854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12266590 LIMIT 2 [ RunTime:0.049513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12266590 ORDER BY `minOrder` ASC [ RunTime:0.028757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12184491 LIMIT 5 [ RunTime:0.022337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12184491 ORDER BY `minOrder` ASC [ RunTime:0.062790s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12184491 ORDER BY `unit` DESC [ RunTime:0.099640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12184491 LIMIT 2 [ RunTime:0.030013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12184491 ORDER BY `minOrder` ASC [ RunTime:0.018854s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029010s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57467126 LIMIT 5 [ RunTime:0.016185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57467126 ORDER BY `minOrder` ASC [ RunTime:0.047774s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57467126 ORDER BY `unit` DESC [ RunTime:0.093644s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57467126 LIMIT 2 [ RunTime:0.067783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57467126 ORDER BY `minOrder` ASC [ RunTime:0.066224s ]
select * from pdf where partno='56415-8-11(1)' and brandshort='3M TC' limit 1 [ RunTime:0.065626s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56415-8-11(1)' OR `brand` LIKE '3M (TC)%' ) ) LIMIT 1 [ RunTime:0.069739s ]
SELECT `id` FROM `stock` WHERE `id` <> 57467126 AND `partno` = '56415-8-11(1)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.077663s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12266556 [ RunTime:0.017280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57468563 LIMIT 5 [ RunTime:0.047907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57468563 ORDER BY `minOrder` ASC [ RunTime:0.107430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57468563 ORDER BY `unit` DESC [ RunTime:0.069458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57468563 LIMIT 2 [ RunTime:0.091820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57468563 ORDER BY `minOrder` ASC [ RunTime:0.092289s ]
select * from pdf where partno='56415-0.5-50' and brandshort='3M TC' limit 1 [ RunTime:0.062429s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56415-0.5-50' OR `brand` LIKE '3M (TC)%' ) ) LIMIT 1 [ RunTime:0.149612s ]
SELECT `id` FROM `stock` WHERE `id` <> 57468563 AND `partno` = '56415-0.5-50' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.082940s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11256750 [ RunTime:0.062299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57467179 LIMIT 5 [ RunTime:0.041426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57467179 ORDER BY `minOrder` ASC [ RunTime:0.058367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57467179 ORDER BY `unit` DESC [ RunTime:0.059362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57467179 LIMIT 2 [ RunTime:0.043282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57467179 ORDER BY `minOrder` ASC [ RunTime:0.047387s ]
select * from pdf where partno='56415-1-50' and brandshort='3M TC' limit 1 [ RunTime:0.021942s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56415-1-50' OR `brand` LIKE '3M (TC)%' ) ) LIMIT 1 [ RunTime:0.051205s ]
SELECT `id` FROM `stock` WHERE `id` <> 57467179 AND `partno` = '56415-1-50' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.112907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11253993 [ RunTime:0.037047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57467165 LIMIT 5 [ RunTime:0.063528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57467165 ORDER BY `minOrder` ASC [ RunTime:0.061347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57467165 ORDER BY `unit` DESC [ RunTime:0.051123s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57467165 LIMIT 2 [ RunTime:0.051021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57467165 ORDER BY `minOrder` ASC [ RunTime:0.051100s ]
select * from pdf where partno='56415-0.75-50' and brandshort='3M TC' limit 1 [ RunTime:0.051890s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56415-0.75-50' OR `brand` LIKE '3M (TC)%' ) ) LIMIT 1 [ RunTime:0.107153s ]
SELECT `id` FROM `stock` WHERE `id` <> 57467165 AND `partno` = '56415-0.75-50' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.088796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12266571 [ RunTime:0.225310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57467220 LIMIT 5 [ RunTime:0.084783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57467220 ORDER BY `minOrder` ASC [ RunTime:0.120830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57467220 ORDER BY `unit` DESC [ RunTime:0.094222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57467220 LIMIT 2 [ RunTime:0.136342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57467220 ORDER BY `minOrder` ASC [ RunTime:0.062425s ]
select * from pdf where partno='56415-2-50' and brandshort='3M TC' limit 1 [ RunTime:0.095345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56415-2-50' OR `brand` LIKE '3M (TC)%' ) ) LIMIT 1 [ RunTime:0.027484s ]
SELECT `id` FROM `stock` WHERE `id` <> 57467220 AND `partno` = '56415-2-50' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.035196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12266590 [ RunTime:0.024200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51687507 LIMIT 5 [ RunTime:0.031402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51687507 ORDER BY `minOrder` ASC [ RunTime:0.012613s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51687507 ORDER BY `unit` DESC [ RunTime:0.005695s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51687507 LIMIT 2 [ RunTime:0.012000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51687507 ORDER BY `minOrder` ASC [ RunTime:0.013726s ]
select * from pdf where partno='56415' and brandshort='Klein Tools, Inc.' limit 1 [ RunTime:0.012434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56415' OR `brand` LIKE 'Klein Tools, Inc.%' ) ) LIMIT 1 [ RunTime:0.052868s ]
SELECT `id` FROM `stock` WHERE `id` <> 51687507 AND `partno` = '56415' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%klein tools, inc.%' ) [ RunTime:0.031258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12184491 [ RunTime:0.107624s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32661159 LIMIT 5 [ RunTime:0.042531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32661159 ORDER BY `minOrder` ASC [ RunTime:0.010785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32661159 ORDER BY `unit` DESC [ RunTime:0.028306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32661159 LIMIT 2 [ RunTime:0.004171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32661159 ORDER BY `minOrder` ASC [ RunTime:0.006310s ]
select * from pdf where partno='56415' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.031700s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56415' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.008444s ]
SELECT `id` FROM `stock` WHERE `id` <> 32661159 AND `partno` = '56415' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.011853s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006739s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017602s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013020s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013616s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016173s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019156s ]
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 '56415%' OR `brand` LIKE '56415%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010447s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '56415%' OR `brand` LIKE '56415%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023742s ]