SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002578s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035819s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433493 LIMIT 5 [ RunTime:0.058154s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433493 ORDER BY `minOrder` ASC [ RunTime:0.042969s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16433493 ORDER BY `unit` DESC [ RunTime:0.017842s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002077s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16433493 LIMIT 2 [ RunTime:0.024283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433493 ORDER BY `minOrder` ASC [ RunTime:0.007577s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14380573 LIMIT 5 [ RunTime:0.024864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14380573 ORDER BY `minOrder` ASC [ RunTime:0.037498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14380573 ORDER BY `unit` DESC [ RunTime:0.035154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14380573 LIMIT 2 [ RunTime:0.047238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14380573 ORDER BY `minOrder` ASC [ RunTime:0.016109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13458493 LIMIT 5 [ RunTime:0.048377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13458493 ORDER BY `minOrder` ASC [ RunTime:0.062096s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13458493 ORDER BY `unit` DESC [ RunTime:0.023592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13458493 LIMIT 2 [ RunTime:0.034205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13458493 ORDER BY `minOrder` ASC [ RunTime:0.035252s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.075449s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032075s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56258194 LIMIT 5 [ RunTime:0.032420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56258194 ORDER BY `minOrder` ASC [ RunTime:0.033492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56258194 ORDER BY `unit` DESC [ RunTime:0.021000s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56258194 LIMIT 2 [ RunTime:0.017606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56258194 ORDER BY `minOrder` ASC [ RunTime:0.000937s ]
select * from pdf where partno='87162010' and brandshort='Murrplastik Systems, Inc.' limit 1 [ RunTime:0.014924s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87162010' OR `brand` LIKE 'Murrplastik Systems, Inc.%' ) ) LIMIT 1 [ RunTime:0.011238s ]
SELECT `id` FROM `stock` WHERE `id` <> 56258194 AND `partno` = '87162010' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrplastik systems, inc.%' ) [ RunTime:0.008805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433493 [ RunTime:0.004202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56258189 LIMIT 5 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56258189 ORDER BY `minOrder` ASC [ RunTime:0.008671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56258189 ORDER BY `unit` DESC [ RunTime:0.006792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56258189 LIMIT 2 [ RunTime:0.000719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56258189 ORDER BY `minOrder` ASC [ RunTime:0.013086s ]
select * from pdf where partno='87162012' and brandshort='Murrplastik Systems, Inc.' limit 1 [ RunTime:0.007774s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87162012' OR `brand` LIKE 'Murrplastik Systems, Inc.%' ) ) LIMIT 1 [ RunTime:0.004400s ]
SELECT `id` FROM `stock` WHERE `id` <> 56258189 AND `partno` = '87162012' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrplastik systems, inc.%' ) [ RunTime:0.016897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56258182 LIMIT 5 [ RunTime:0.016517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56258182 ORDER BY `minOrder` ASC [ RunTime:0.016098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56258182 ORDER BY `unit` DESC [ RunTime:0.004908s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56258182 LIMIT 2 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56258182 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
select * from pdf where partno='87162013' and brandshort='Murrplastik Systems, Inc.' limit 1 [ RunTime:0.000992s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87162013' OR `brand` LIKE 'Murrplastik Systems, Inc.%' ) ) LIMIT 1 [ RunTime:0.002046s ]
SELECT `id` FROM `stock` WHERE `id` <> 56258182 AND `partno` = '87162013' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrplastik systems, inc.%' ) [ RunTime:0.007694s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56212029 LIMIT 5 [ RunTime:0.009833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56212029 ORDER BY `minOrder` ASC [ RunTime:0.002078s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56212029 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56212029 LIMIT 2 [ RunTime:0.003742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56212029 ORDER BY `minOrder` ASC [ RunTime:0.012737s ]
select * from pdf where partno='8716250S' and brandshort='LAPP' limit 1 [ RunTime:0.000951s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '8716250S' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.002210s ]
SELECT `id` FROM `stock` WHERE `id` <> 56212029 AND `partno` = '8716250S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.002490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56210978 LIMIT 5 [ RunTime:0.003294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56210978 ORDER BY `minOrder` ASC [ RunTime:0.001873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56210978 ORDER BY `unit` DESC [ RunTime:0.002525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56210978 LIMIT 2 [ RunTime:0.024237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56210978 ORDER BY `minOrder` ASC [ RunTime:0.000796s ]
select * from pdf where partno='8716250' and brandshort='LAPP' limit 1 [ RunTime:0.004716s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '8716250' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.001263s ]
SELECT `id` FROM `stock` WHERE `id` <> 56210978 AND `partno` = '8716250' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.000808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14380573 [ RunTime:0.003132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50703554 LIMIT 5 [ RunTime:0.000708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50703554 ORDER BY `minOrder` ASC [ RunTime:0.020965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50703554 ORDER BY `unit` DESC [ RunTime:0.010716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50703554 LIMIT 2 [ RunTime:0.001484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50703554 ORDER BY `minOrder` ASC [ RunTime:0.007398s ]
select * from pdf where partno='87162' and brandshort='Brady Corporation' limit 1 [ RunTime:0.011331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87162' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.003480s ]
SELECT `id` FROM `stock` WHERE `id` <> 50703554 AND `partno` = '87162' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.001184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13458493 [ RunTime:0.004849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38087219 LIMIT 5 [ RunTime:0.000811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38087219 ORDER BY `minOrder` ASC [ RunTime:0.009187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38087219 ORDER BY `unit` DESC [ RunTime:0.000911s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38087219 LIMIT 2 [ RunTime:0.000664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38087219 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
select * from pdf where partno='87162' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000421s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87162' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT `id` FROM `stock` WHERE `id` <> 38087219 AND `partno` = '87162' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.001668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13458493 [ RunTime:0.000369s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003589s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001092s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001294s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007460s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002560s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001426s ]
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 '87162%' OR `brand` LIKE '87162%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008527s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '87162%' OR `brand` LIKE '87162%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001388s ]