SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001623s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002373s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15432054 LIMIT 5 [ RunTime:0.003098s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15432054 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15432054 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15432054 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15432054 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='81264-01' and brandshort='Cole Hersee' limit 1 [ RunTime:0.000605s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15432042 LIMIT 5 [ RunTime:0.000671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15432042 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15432042 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15432042 LIMIT 2 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15432042 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
select * from pdf where partno='81264' and brandshort='Cole Hersee' limit 1 [ RunTime:0.000498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19531060 LIMIT 5 [ RunTime:0.000805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19531060 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19531060 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19531060 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19531060 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17288674 LIMIT 5 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17288674 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17288674 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17288674 LIMIT 2 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17288674 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='81264-05' and brandshort='Cole Hersee' limit 1 [ RunTime:0.000445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19531330 LIMIT 5 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19531330 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19531330 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19531330 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19531330 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='81264-07' and brandshort='Cole Hersee' limit 1 [ RunTime:0.000450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12180396 LIMIT 5 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12180396 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12180396 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12180396 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12180396 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000924s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001145s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65288209 LIMIT 5 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288209 ORDER BY `minOrder` ASC [ RunTime:0.000713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65288209 ORDER BY `unit` DESC [ RunTime:0.000341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65288209 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288209 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
select * from pdf where partno='81264' and brandshort='Cole Hersee' limit 1 [ RunTime:0.000550s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '81264' OR `brand` LIKE 'Cole Hersee%' ) ) LIMIT 1 [ RunTime:0.000455s ]
SELECT `id` FROM `stock` WHERE `id` <> 65288209 AND `partno` = '81264' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cole hersee%' ) [ RunTime:0.000495s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15432042 [ RunTime:0.000338s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65288210 LIMIT 5 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288210 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65288210 ORDER BY `unit` DESC [ RunTime:0.000275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65288210 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288210 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='81264-01' and brandshort='Cole Hersee' limit 1 [ RunTime:0.000716s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '81264-01' OR `brand` LIKE 'Cole Hersee%' ) ) LIMIT 1 [ RunTime:0.000421s ]
SELECT `id` FROM `stock` WHERE `id` <> 65288210 AND `partno` = '81264-01' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cole hersee%' ) [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15432054 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65288254 LIMIT 5 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288254 ORDER BY `minOrder` ASC [ RunTime:0.000673s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65288254 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65288254 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288254 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
select * from pdf where partno='81264-01-BX' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.000602s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '81264-01-BX' OR `brand` LIKE 'Littelfuse Inc.%' ) ) LIMIT 1 [ RunTime:0.000419s ]
SELECT `id` FROM `stock` WHERE `id` <> 65288254 AND `partno` = '81264-01-BX' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%littelfuse inc.%' ) [ RunTime:0.000439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19531060 [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65288304 LIMIT 5 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288304 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65288304 ORDER BY `unit` DESC [ RunTime:0.000274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65288304 LIMIT 2 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288304 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
select * from pdf where partno='81264-05' and brandshort='Cole Hersee' limit 1 [ RunTime:0.000772s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '81264-05' OR `brand` LIKE 'Cole Hersee%' ) ) LIMIT 1 [ RunTime:0.000410s ]
SELECT `id` FROM `stock` WHERE `id` <> 65288304 AND `partno` = '81264-05' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cole hersee%' ) [ RunTime:0.000430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17288674 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65396019 LIMIT 5 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65396019 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65396019 ORDER BY `unit` DESC [ RunTime:0.000251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65396019 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65396019 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='81264T' and brandshort='Apex Tool Group' limit 1 [ RunTime:0.000779s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '81264T' OR `brand` LIKE 'Apex Tool Group%' ) ) LIMIT 1 [ RunTime:0.000410s ]
SELECT `id` FROM `stock` WHERE `id` <> 65396019 AND `partno` = '81264T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%apex tool group%' ) [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12180396 [ RunTime:0.000306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65288673 LIMIT 5 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288673 ORDER BY `minOrder` ASC [ RunTime:0.001238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65288673 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65288673 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288673 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='81264-BX' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '81264-BX' OR `brand` LIKE 'Littelfuse/Commercial Vehicle Products%' ) ) LIMIT 1 [ RunTime:0.000387s ]
SELECT `id` FROM `stock` WHERE `id` <> 65288673 AND `partno` = '81264-BX' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%littelfuse/commercial vehicle products%' ) [ RunTime:0.000444s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65288657 LIMIT 5 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288657 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65288657 ORDER BY `unit` DESC [ RunTime:0.000246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65288657 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65288657 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='81264-07' and brandshort='Cole Hersee' limit 1 [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '81264-07' OR `brand` LIKE 'Cole Hersee%' ) ) LIMIT 1 [ RunTime:0.000328s ]
SELECT `id` FROM `stock` WHERE `id` <> 65288657 AND `partno` = '81264-07' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cole hersee%' ) [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19531330 [ RunTime:0.000348s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000608s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000484s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000564s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000519s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000559s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000511s ]
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 '81264%' OR `brand` LIKE '81264%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000620s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '81264%' OR `brand` LIKE '81264%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000564s ]