SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002085s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018111s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19657465 LIMIT 5 [ RunTime:0.013689s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19657465 ORDER BY `minOrder` ASC [ RunTime:0.025265s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002986s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19657465 ORDER BY `unit` DESC [ RunTime:0.021295s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19657465 LIMIT 2 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19657465 ORDER BY `minOrder` ASC [ RunTime:0.000768s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11196792 LIMIT 5 [ RunTime:0.024728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11196792 ORDER BY `minOrder` ASC [ RunTime:0.018255s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11196792 ORDER BY `unit` DESC [ RunTime:0.017352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11196792 LIMIT 2 [ RunTime:0.006123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11196792 ORDER BY `minOrder` ASC [ RunTime:0.020324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18828886 LIMIT 5 [ RunTime:0.023286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18828886 ORDER BY `minOrder` ASC [ RunTime:0.022055s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18828886 ORDER BY `unit` DESC [ RunTime:0.033447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18828886 LIMIT 2 [ RunTime:0.009300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18828886 ORDER BY `minOrder` ASC [ RunTime:0.008185s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014939s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58545954 LIMIT 5 [ RunTime:0.017771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58545954 ORDER BY `minOrder` ASC [ RunTime:0.032505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58545954 ORDER BY `unit` DESC [ RunTime:0.016691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58545954 LIMIT 2 [ RunTime:0.050174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58545954 ORDER BY `minOrder` ASC [ RunTime:0.003605s ]
select * from pdf where partno='100009' and brandshort='Sper Scientific' limit 1 [ RunTime:0.081619s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '100009' OR `brand` LIKE 'Sper Scientific%' ) ) LIMIT 1 [ RunTime:0.059058s ]
SELECT `id` FROM `stock` WHERE `id` <> 58545954 AND `partno` = '100009' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sper scientific%' ) [ RunTime:0.033570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11196792 [ RunTime:0.042053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60487672 LIMIT 5 [ RunTime:0.008995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60487672 ORDER BY `minOrder` ASC [ RunTime:0.026010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60487672 ORDER BY `unit` DESC [ RunTime:0.024986s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60487672 LIMIT 2 [ RunTime:0.010596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60487672 ORDER BY `minOrder` ASC [ RunTime:0.010740s ]
select * from pdf where partno='1000090001' and brandshort='Weidmüller' limit 1 [ RunTime:0.011087s ]
select foldpath,foldpath2,filename from pdf_file where id=754202 limit 1 [ RunTime:0.004126s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1000090001' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.008295s ]
SELECT `id` FROM `stock` WHERE `id` <> 60487672 AND `partno` = '1000090001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.002127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19657465 [ RunTime:0.007493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64813671 LIMIT 5 [ RunTime:0.016612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64813671 ORDER BY `minOrder` ASC [ RunTime:0.006174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64813671 ORDER BY `unit` DESC [ RunTime:0.011648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64813671 LIMIT 2 [ RunTime:0.010590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64813671 ORDER BY `minOrder` ASC [ RunTime:0.011284s ]
select * from pdf where partno='1000090210' and brandshort='Murrplastik Systems, Inc.' limit 1 [ RunTime:0.009157s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1000090210' OR `brand` LIKE 'Murrplastik Systems, Inc.%' ) ) LIMIT 1 [ RunTime:0.006502s ]
SELECT `id` FROM `stock` WHERE `id` <> 64813671 AND `partno` = '1000090210' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrplastik systems, inc.%' ) [ RunTime:0.019575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64059608 LIMIT 5 [ RunTime:0.019137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64059608 ORDER BY `minOrder` ASC [ RunTime:0.013250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64059608 ORDER BY `unit` DESC [ RunTime:0.006861s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64059608 LIMIT 2 [ RunTime:0.005761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64059608 ORDER BY `minOrder` ASC [ RunTime:0.018733s ]
select * from pdf where partno='1000090000' and brandshort='Murrplastik Systems, Inc.' limit 1 [ RunTime:0.028851s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1000090000' OR `brand` LIKE 'Murrplastik Systems, Inc.%' ) ) LIMIT 1 [ RunTime:0.021798s ]
SELECT `id` FROM `stock` WHERE `id` <> 64059608 AND `partno` = '1000090000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrplastik systems, inc.%' ) [ RunTime:0.006737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18828886 [ RunTime:0.009464s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000991s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012402s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044935s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017334s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041341s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027185s ]
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 '100009%' OR `brand` LIKE '100009%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004180s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '100009%' OR `brand` LIKE '100009%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009080s ]