SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001190s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025676s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18845029 LIMIT 5 [ RunTime:0.050161s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18845029 ORDER BY `minOrder` ASC [ RunTime:0.023205s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005912s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18845029 ORDER BY `unit` DESC [ RunTime:0.019898s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.015639s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18845029 LIMIT 2 [ RunTime:0.027552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18845029 ORDER BY `minOrder` ASC [ RunTime:0.018843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18845028 LIMIT 5 [ RunTime:0.036643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18845028 ORDER BY `minOrder` ASC [ RunTime:0.031008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18845028 ORDER BY `unit` DESC [ RunTime:0.053526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18845028 LIMIT 2 [ RunTime:0.015229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18845028 ORDER BY `minOrder` ASC [ RunTime:0.017259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17051616 LIMIT 5 [ RunTime:0.002711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17051616 ORDER BY `minOrder` ASC [ RunTime:0.002480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17051616 ORDER BY `unit` DESC [ RunTime:0.012897s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17051616 LIMIT 2 [ RunTime:0.008459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17051616 ORDER BY `minOrder` ASC [ RunTime:0.013314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17022985 LIMIT 5 [ RunTime:0.019291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17022985 ORDER BY `minOrder` ASC [ RunTime:0.005069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17022985 ORDER BY `unit` DESC [ RunTime:0.019579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17022985 LIMIT 2 [ RunTime:0.038636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17022985 ORDER BY `minOrder` ASC [ RunTime:0.004903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14415960 LIMIT 5 [ RunTime:0.014227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14415960 ORDER BY `minOrder` ASC [ RunTime:0.021645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14415960 ORDER BY `unit` DESC [ RunTime:0.024371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14415960 LIMIT 2 [ RunTime:0.010404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14415960 ORDER BY `minOrder` ASC [ RunTime:0.016485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13553669 LIMIT 5 [ RunTime:0.031575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13553669 ORDER BY `minOrder` ASC [ RunTime:0.042518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13553669 ORDER BY `unit` DESC [ RunTime:0.008094s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13553669 LIMIT 2 [ RunTime:0.005592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13553669 ORDER BY `minOrder` ASC [ RunTime:0.007046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12240864 LIMIT 5 [ RunTime:0.009816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12240864 ORDER BY `minOrder` ASC [ RunTime:0.001434s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12240864 ORDER BY `unit` DESC [ RunTime:0.003977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12240864 LIMIT 2 [ RunTime:0.009577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12240864 ORDER BY `minOrder` ASC [ RunTime:0.002965s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005009s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36828995 LIMIT 5 [ RunTime:0.002405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36828995 ORDER BY `minOrder` ASC [ RunTime:0.003376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36828995 ORDER BY `unit` DESC [ RunTime:0.002280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36828995 LIMIT 2 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36828995 ORDER BY `minOrder` ASC [ RunTime:0.002666s ]
select * from pdf where partno='2094200' and brandshort='Rittal' limit 1 [ RunTime:0.002431s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002561s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2094200' OR `brand` LIKE 'Rittal%' ) ) LIMIT 1 [ RunTime:0.000359s ]
SELECT `id` FROM `stock` WHERE `id` <> 36828995 AND `partno` = '2094200' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%rittal%' ) [ RunTime:0.000347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17051616 [ RunTime:0.007362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50704436 LIMIT 5 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50704436 ORDER BY `minOrder` ASC [ RunTime:0.008187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50704436 ORDER BY `unit` DESC [ RunTime:0.000688s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50704436 LIMIT 2 [ RunTime:0.000847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50704436 ORDER BY `minOrder` ASC [ RunTime:0.001471s ]
select * from pdf where partno='20942' and brandshort='Brady Corporation' limit 1 [ RunTime:0.002366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20942' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000553s ]
SELECT `id` FROM `stock` WHERE `id` <> 50704436 AND `partno` = '20942' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.001033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13553669 [ RunTime:0.006053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49637067 LIMIT 5 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49637067 ORDER BY `minOrder` ASC [ RunTime:0.003182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49637067 ORDER BY `unit` DESC [ RunTime:0.005582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49637067 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49637067 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
select * from pdf where partno='2094200' and brandshort='Rittal' limit 1 [ RunTime:0.007210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2094200' OR `brand` LIKE 'Rittal%' ) ) LIMIT 1 [ RunTime:0.000511s ]
SELECT `id` FROM `stock` WHERE `id` <> 49637067 AND `partno` = '2094200' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%rittal%' ) [ RunTime:0.004319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17051616 [ RunTime:0.000458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49402089 LIMIT 5 [ RunTime:0.003786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49402089 ORDER BY `minOrder` ASC [ RunTime:0.005257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49402089 ORDER BY `unit` DESC [ RunTime:0.000678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49402089 LIMIT 2 [ RunTime:0.000713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49402089 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
select * from pdf where partno='2094296' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.003619s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2094296' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001045s ]
SELECT `id` FROM `stock` WHERE `id` <> 49402089 AND `partno` = '2094296' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.007972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12240864 [ RunTime:0.001252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49325099 LIMIT 5 [ RunTime:0.005491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49325099 ORDER BY `minOrder` ASC [ RunTime:0.000910s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49325099 ORDER BY `unit` DESC [ RunTime:0.001477s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49325099 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49325099 ORDER BY `minOrder` ASC [ RunTime:0.002397s ]
select * from pdf where partno='20942.4' and brandshort='Pflitsch' limit 1 [ RunTime:0.001366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20942.4' OR `brand` LIKE 'Pflitsch%' ) ) LIMIT 1 [ RunTime:0.000443s ]
SELECT `id` FROM `stock` WHERE `id` <> 49325099 AND `partno` = '20942.4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pflitsch%' ) [ RunTime:0.001024s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14415960 [ RunTime:0.005983s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38088685 LIMIT 5 [ RunTime:0.003034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38088685 ORDER BY `minOrder` ASC [ RunTime:0.006429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38088685 ORDER BY `unit` DESC [ RunTime:0.003601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38088685 LIMIT 2 [ RunTime:0.000595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38088685 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='20942' and brandshort='Brady Corporation' limit 1 [ RunTime:0.003101s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20942' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.004803s ]
SELECT `id` FROM `stock` WHERE `id` <> 38088685 AND `partno` = '20942' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.004672s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13553669 [ RunTime:0.003017s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36596197 LIMIT 5 [ RunTime:0.000631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36596197 ORDER BY `minOrder` ASC [ RunTime:0.007518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36596197 ORDER BY `unit` DESC [ RunTime:0.001137s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36596197 LIMIT 2 [ RunTime:0.001011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36596197 ORDER BY `minOrder` ASC [ RunTime:0.007526s ]
select * from pdf where partno='2094296' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2094296' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000557s ]
SELECT `id` FROM `stock` WHERE `id` <> 36596197 AND `partno` = '2094296' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.003090s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12240864 [ RunTime:0.000353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36517043 LIMIT 5 [ RunTime:0.002376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36517043 ORDER BY `minOrder` ASC [ RunTime:0.004818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36517043 ORDER BY `unit` DESC [ RunTime:0.004577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36517043 LIMIT 2 [ RunTime:0.003478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36517043 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='20942.4' and brandshort='Pflitsch' limit 1 [ RunTime:0.002388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20942.4' OR `brand` LIKE 'Pflitsch%' ) ) LIMIT 1 [ RunTime:0.000513s ]
SELECT `id` FROM `stock` WHERE `id` <> 36517043 AND `partno` = '20942.4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pflitsch%' ) [ RunTime:0.000818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14415960 [ RunTime:0.002120s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002429s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001885s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003823s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002712s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003490s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006466s ]
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 '20942%' OR `brand` LIKE '20942%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002702s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '20942%' OR `brand` LIKE '20942%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005976s ]